Forum Discussion

s_papaioannou's avatar
s_papaioannou
Frequent Visitor
4 years ago

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