Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
saujanyae
Helper II
Helper II

Nuget package error: Web.config file error User Owns Data

Need Help!

 

Nuget package installation for "user owns data" (example from git hub) for below package throws an error in web.config file setting.  I guess a block of code is missing in web.config file. 

 

Error: 

"No element in the source document matches '/configuration/system.web/pages/control. 

 

Nuget Package:

Microsoft.PowerBI.AspNet.WebForms 

 

Git hub link

https://github.com/microsoft/PowerBI-Developer-Samples/blob/master/User%20Owns%20Data/integrate-web-...

 

 

1 ACCEPTED SOLUTION
saujanyae
Helper II
Helper II

Hello 

 

Thanks for the reply. the solution link is w.r.t to Microsoft.PowerBI.AspNet.Mvc  and not Microsoft.PowerBI.AspNet.WebForms. I need a solution to fix Microsoft.PowerBI.AspNet.WebForms in web.config file

 

 

View solution in original post

2 REPLIES 2
saujanyae
Helper II
Helper II

Hello 

 

Thanks for the reply. the solution link is w.r.t to Microsoft.PowerBI.AspNet.Mvc  and not Microsoft.PowerBI.AspNet.WebForms. I need a solution to fix Microsoft.PowerBI.AspNet.WebForms in web.config file

 

 

Icey
Community Support
Community Support

Hi @saujanyae ,

 

Maybe it is for missing part of the code. You can refer to this post.

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.