Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 10 | |
| 10 | |
| 4 | |
| 3 | |
| 3 |