"Cannot start debugging on the web server" MSVSMON.EXE could not be started. Error VS2010

having a real problem getting VS2010 for debugging IIS.

I searched the Internet for several days and tried every single solution. VS2008 works fine, but I installed VS2010 and when I try to debug the IIS site (by pressing F5 in a project using IIS), I get an error

"Cannot start debugging on the web server. Microsoft Visual Studio Debugging Monitor (MSVSMON.EXE) failed to start. If this problem persists, restore your visual installation using the" Add or Remove Programs "in Control Panel."

when I try to connect the process manually, I get the same message. I tried to restore the software. I tried, it failed, so I uninstalled it using the Microsoft Visual Studio 2010 Uninstall utility (http://archive.msdn.microsoft.com/vs2010uninstall/Release/ProjectReleases.aspx?ReleaseId=4321), then reinstalled and still has the same problem. With SP1, this is still happening. I can start the website perfectly when I start "start without debugging", and it works fine.

I looked through all the manuals that I can, and they all tried all the IIS settings that I can, and still have no luck. I use Windows 7 64bit if that means anything. I can tell you in detail about all the things I tried.

also have a laptop and did the same by installing VS2010 and TFS (also on win7 64bit), and this works great for debugging. No need to bother. I see no difference between this and my computer with the problem. I scratch my head here and think that I may have to format my computer and try again from a new installation (which would be very unpleasant!)

Thanks to everyone who reads this, Dan Ghent

+4
source share
8 answers

I fixed it now. finished formatting the machine, reinstalling Windows 7, and then took backups every time I installed a new program so that I could roll back. VS2010 was first installed, F5 worked. then VS2008 and everything else is installed, and debugging still works on VS2010. I donโ€™t know what happened because the above problem arose during the new installation. something should ruin something somewhere

Thanks for your help and narrowed down this problem to the point that it was worth formatting my computer for fixing.

amuses, Baswell

+1
source

I had a HOSTS file entry resolving the project URL to the DEV server instead of the local machine. Changing the entry pointing to 127.0.0.1 fixed the problem.

+6
source

Are you installing from the purchased disk or downloading it? In any case, you need to download a new copy and install it (sounds like the original, damaged).

Also, make sure all IIS and web components are installed on your computer. Is your OS home or base?

http://technet.microsoft.com/en-us/library/cc731911.aspx

+1
source

It can also be caused if you use the host name in IIS and make an error in the hosts file.

Verify that the host IP address is set to the local computer 127.0.0.1, and not somewhere else. In my case, I accidentally installed it on a development server.

+1
source

Have you tried to start MSVSMON manually? I had the same problem and you found that the service was stopped. So I tried to enable the service and made sure that it was using the correct credentials.

Hope this helps!

Thanks! Don

0
source

The only thing that worked for me after I tried almost all the solutions on the Internet was to right-click the project in the solution explorer and select Debug-> Debug as Administrator.

0
source

Right-click the "Use Custom Web Server" icon, select the "Use Local IIS Web Server" check box. I solved this problem with this and its work.

0
source

I managed to solve this problem using the "Solution" program - right-click on the project-> select "Debugging-> Run a new instance".

I think this happened because I copied the project folder from another server.

0
source

All Articles