I have a fresh install of Windows 10 Pro and just installed Visual Studio 2017 Community Edition.
I created a web project, and configured it to use http and IIS on the localhost. The project runs fine if I view it from a browser. But I cannot run debug (even running as administrator) or I get an error of :
"Unable to start debugging on the web server. The remote server returned an error:(404) Not Found."
I tried to use IIS Manager to figure out what is happening. When I look at the basic setting of the default website and then click test settings I see two test results:
Authentication: Passed
Authorization: Cannot verify access to path.
So following the advice of the https://stackoverflow.com/questions/14653722/how-do-i-give-asp-net-permission-to-write-to-a-folder-in-windows-7 I gave the application pool identity access to C:\inetpub\wwwroot. That did not help. I gave everyone full control of c:\inetpub\wwwroot. Still no change.
I looked in event viewer on my machine and I do not see any audit failures so I can't tell if security permissions are the problem or not.
Any suggestions or references?