Why when I start asp.net I get "Unable to start debugging on the web server"?

I am trying to debug a web application through IIS which has a virtual directory other than localhost. It compiles fine, but gets the message above when I try to start debugging. I have a debug = "true" compilation.

+3
source share
3 answers

Right-click the Internet project and select Property Pages. Then change the “Launch Options” to “Do Not Open Page”. Wait for the request from the external application. and for the server, select "Use custom server" with the base URL: " http: // localhost / your_virtual_dir / '

Then, when you open a web browser indicating the location of the IIS (and virtual directory) that you are installing, they should work in tandem with each other.

Hope this helped.

+3
source

Error: Cannot start debugging on the web server

Check the points in the MSDN article above. IME, this is usually one of the following things:

  • IIS? "" " " "". !

  • ASP.NET IIS ?

  • ASP.NET: : systemroot\Microsoft.NET\Framework\versionNumber\aspnet_regiis -i

+1

Source: https://habr.com/ru/post/1699063/


All Articles