Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
After resolving error, Sample Example for PowerBIEmbedded_Appownsdata is working fine I can See my dashboard from Clicking Button but When Copied same code with reqired correction and added all required references and <appSetting> in web.config but when I run that code on my DNN website it gives me below error, which I am not sure what is messing but I think Its not connected properly with web.config means there some confugration step is messing which is not mention. For Controller and services I copied the same code as sample example of powerBI.
DotNetNuke.Services.Exceptions.ModuleLoadException: An error occurred when trying to create a controller of type. Make sure that the controller has a parameterless public constructor. ---> System.InvalidOperationException: An error occurred when trying to create a controller of type. Make sure that the controller has a parameterless public constructor. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for '/Services.EmbedService' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. at /Services.EmbedService..cctor() in - End of inner exception stack trace --- at Services.EmbedService..ctor() at End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |