Unable to start debugging on the web server. The web server could not find the requested resource

后端 未结 10 3295
猫巷女王i
猫巷女王i 2021-02-20 12:17

I\'m having this error trying to debug my ASP.NET MVC app. I\'ve set the app to \"Use Local IIS Web server\", and selected ASP.NET as the debugger. Running the site without debu

相关标签:
10条回答
  • 2021-02-20 13:05

    I had the same problem, and i fixed this way:

    Go to IIS Manager -> Go to the site -> Error Pages -> Actions: edit feature settings.. -> Make sure you checked "detailed errors for local requests and custom error pages for remote requests".

    0 讨论(0)
  • 2021-02-20 13:11

    IF you are using IIS6 and did the add mapping for .* in IIS trick to get MVC working, when you added the .* handler to iisapi.dll you forgot to uncheck the "check the file exists" check box.enter image description here

    0 讨论(0)
  • 2021-02-20 13:13

    The root cause for this error can often be that the Windows Service W3SVC is not started. Check that this service in Windows Services console (services.msc) is started. In IIS you will now see the the Start icon is greyed out. This means that the W3SVC service is running.

    0 讨论(0)
  • 2021-02-20 13:18

    What i did, was just type the IP address in the web tab instead of "localhost"

    0 讨论(0)
提交回复
热议问题