Reputation: 2727
I am trying to debug my web application using IIS custom web server. But I am getting an error "unable to start debugging on the web server. a debugger is already attached". But I checked my processes, don't any processes related to that, tried iisreset and even rebooted my system. Still that error is showing my system.
I am using visual studio 2010, IIS 7, .Net 4.0
Any help is appreciated. thanks.
Upvotes: 1
Views: 3391
Reputation: 12034
I found this thread: Visual Studio - unable to start debugging on the web server. The web server did not respond in a timely manner
And you need execute the cmd
as Administrator and:
> cd \
> cd Windows
> cd system32
> issreset
Upvotes: 1
Reputation: 16144
Try the following options:
Hit Shift+F5 when in Visual Studio and this will terminate the current debug session. You can then hit F5 and this will start a new debug session.
Right Click Web Application -> Degug -> Start new instance
Upvotes: 1