Home > Uncategorized > VS2010 Error: Unable to start debugging on the web server

VS2010 Error: Unable to start debugging on the web server

If ever you should find yourself confronted with the following error in VS2010 (or its ancestors):

“Unable to start debugging on the web server”

It could be because the msvsmon.exe process has been terminated by some unfortunate circumstances.

This will drive you insane until you sort it out, so quickly read this:

http://msdn.microsoft.com/en-us/library/xf8k2h6a.aspx

Basically, you need to make sure that the Remote Debugging Monitor, msvsmon.exe is running.  Find VS2010 in your programs menu and look for the Visual Studio 2010 Remote Debugger under Visual Studio Tools.  Read that article for configuration details. In my case, simple browsing into the x64 directory and executing the msvsmon.exe fixed the problem.  This is something I normally take for granted when debugging in Visual Studio.  I created my own problem here because I actually wrote a powershell script to kill the msvsmon.exe process when re-initializing my debug environment.  Why?  Because I was trying to identify the source of some session cache re-initialization issues and thought that little bugger might have had a hand in it.  Still not sure if that was the case, but I do know that I need to make sure that I restart this after I kill it.

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: