I have this message when I start debug in VS 2008:
Error while trying to run project: Unable to start debugging
Because of this I cannot debug any programs any more. Any ideas what causes this?
I have this message when I start debug in VS 2008:
Error while trying to run project: Unable to start debugging
Because of this I cannot debug any programs any more. Any ideas what causes this?
Sometimes it means the URL you have setup for the project in the Project Properties doesn't match what it is in IIS.
Assuming a client app and not a web app, there are a few things to try:
This is also possible when in VS->Server Explorer Application debugging is enabled or CLR/SQL debugging is enabled..
Disabling that might solve the issue..
Verify that you are a member of the Administrators group and the Debugger Users group on the computer.
I had this problem when I brought my code over from another machine. I kept getting that message when trying to debug until I completely cleaned out the output directory (I just manually deleted everything in it). Once I did that, I could run in debug mode.