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
s_papaioannou
Frequent Visitor

Help needed. Publish AppOwnsData .NET CORE on IIS server

Hello!

 

I want to publish my project on  IIS server (Windows Server 2012 R2 Datacenter). 

 

The project is  App Owns Data Sample,  with modified appsettings.json file. All other files are intact.

 

The site is working (I have an index.html file that is accessible from the internet and it renders normaly).

However when I placed the solution inside the root folder of the site on the server, I got an error 403 Access is forbidden.

 

Update : I tried publishing the project from inside Visual studio 2019 Community edition and importing it to the server (import project in iis site)

 

Do you have any advice or documentation on how to do that?

Thank you in advance

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @s_papaioannou ,

 

Have you update those IDs WEB.config file in the Visual studio Solution?

See if these threads can help you:

http://pubududewagama.blogspot.com/2019/07/publish-power-bi-dashboard-on-web-page.html 

https://community.powerbi.com/t5/Developer/PowerBIEmbedded-AppOwnsData-eorr-after-publishing-to-IIS/... 


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

Happy new year to you!

 

The Sample I used was .NET Core so there is no web.config

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.