I am getting a 404 from a .net core 5.0 web app that I have deployed to a newly set up windows server. I have installed the dotnet-hosting-5.0.11-win runtime libraries on the server and installed IIS with the following settings:
When I browse to it from IIS I get a 404. I gave up on the initial project and started clean with a stripped down version from the VS2019 templates. Still got the 404 :
Here is the project from VS2019 itself just to give you a clearer idea of what I am trying to install and run from the Windows server:
Here are the publish options for the project:
Created a new website in IIS for this app. Here are the settings for that:
Here are the app pool settings for the app:
Here is the web.config file for the app:
Enabled directory browsing based on other posts I read:
Here is a snapshot of the logs file on the server:
Any help appreciated!
Aucun commentaire:
Enregistrer un commentaire