18

I can launch debug session only once with VS2010 and ASP.NET MVC2. When I end the first session and try to launch another I can see...

"Unable to start debugging" - no other messages, I'm using Visual Studio Development Server instead of IIS, Windows 7 64-bit

I can add that few days ago I was working on Windows XP and everything was fine.

Does anyone have some conclusions?

4 Answers 4

19

The problem auto-magically disappeared when:

  1. I've turned off Debug > Edit and Continue option
  2. Open vs2010 and run debug.
  3. Turn off debug, shut down all launched WebServers (I had few of them for different services)
  4. Close VS2010
  5. Open VS2010.

After that everything works.

1
  • 2
    had the same problem manually upgrading from asp.net mvc 3 -> mvc 4 beta; closing vs and re-opening solved it. sigh.
    – tmont
    Apr 23, 2012 at 8:04
12

A simple restart of VS2010 sorted this for me

1

I've had this problem twice now and it occurs when I change my password for my computer. I have to go into IIS and change the password on the application pool to match my new password.

0

Also encountered this issue when updated AnkhSVN(I don't believe that updating could cause this problem but I didn't do anything else except code editing).

Closing Development Servers seems solve this issue until next time.

Microsoft Visual Studio 2010 Version 10.0.40219.1 SP1Rel

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.