question

aleksw-8627 avatar image
0 Votes"
aleksw-8627 asked SamWu-MSFT commented

unable to start debugging on the web server

I think I did something wrong in my IIS. I am getting the error when I am trying to start my project in visual studio. Could you help me?

The error in visual studio:
104638-error1.png

The project configuration in visual studio:
104723-visual.png

The configuration in ISS:
104639-cert.png

I also added to C:\Windows\System32\drivers\etc:
127.0.0.1 development.com.local


windows-server-iis
error1.png (11.4 KiB)
visual.png (24.0 KiB)
cert.png (136.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SamWu-MSFT avatar image
0 Votes"
SamWu-MSFT answered SamWu-MSFT commented

Hi @aleksw-8627

You are using an external host, the host name will be redirected to your local IIS, so you need to run Visual Studio with administrator rights, so please check if you are running VS with administrator rights.

If you still can’t solve the problem, you can refer to the link below for troubleshooting: Error: Unable to Start Debugging on the Web Server.

There is also a link about the specific operation process of the entire configuration. You can check the document to see if there are any differences or omissions in some configurations.

Remote Debug ASP.NET on a Remote IIS Computer.


If the answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I am running Visual Studio as an administrator. I checked everything, I have no idea what is wrong :/

0 Votes 0 ·

Hi @aleksw-8627 Did you follow this link to troubleshoot?


0 Votes 0 ·