Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

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-app/PBIWebApp/Web.config

 

 

  • Anonymous's avatar
    Anonymous
    6 years ago

    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

     

     

2 Replies

  • Icey's avatar
    Icey
    Community Support

    Hi Anonymous ,

     

    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.

  • Anonymous's avatar
    Anonymous
    Not applicable

    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