Error while trying to run project: Unable to start debugging

21,814

Solution 1

It functions now, even though I don't do anything special lately to fix it. Maybe it was a mix of http://www.hagrin.com/326/fixing-components-64-bit-debugger-are-not-registered-error, a couple of Windows Updates, reboots and cups of coffee!

Solution 2

This worked for me:

SOLUTION: Had to check "Use Managed Compatibility Mode" in Tools|Options|Debugging|General. Debugger is working now.

From Microsoft Connect

Solution 3

I got the same error when we changed our domain and I had to create a new user profile. Delete the .suo file of your solution, then open it again.

Share:
21,814
Luuk
Author by

Luuk

Passionate about everything that has to do with software development, deployment and hosting.

Updated on February 03, 2021

Comments

  • Luuk
    Luuk over 3 years

    I get the error below when trying to debug an Any CPU console app. When I switch the Platform target to x86, it works fine. I've tried to repair VS2010 and reinstall VS2010.

    Does anybody have a solution except for a complete windows re-install?

  • Steven Magana-Zook
    Steven Magana-Zook over 11 years
    I get this occasionally and simply restarting visual studio 2010 fixes it :/
  • uranibaba
    uranibaba almost 7 years
    This should be the correct answer, fixes the problem and is a bit more clear.