Failed to start debugging message in VS 2008

I have this message when I run debug in VS 2008:

Error trying to start a project: cannot start debugging

Because of this, I can no longer debug any programs. Any ideas what causes this?

+4
source share
6 answers

I had this problem when I transferred the code from another machine. I continued to receive this message while trying to debug until I completely cleaned the output directory (I just manually deleted everything in it). Once I did this, I could work in debug mode.

+2
source

Sometimes this means that the URL that you configured for the project in the project properties does not match what is in IIS.

0
source

Assuming the client application, not the web application, you can try:

  • Make sure you run Visual Studio as an administrator (upgraded).
  • Make sure you create your project and have the appropriate characters (.pdb and .exe have the same timestamps).
  • Make sure you are not debugging the application using VS or another debugger.
0
source

It is also possible if application debugging is enabled in VS-> Server Explorer or CLR / SQL debugging is enabled.

A shutdown that may solve the problem.

0
source

Make sure that you are a member of the Administrators group and the Debugger Users group on the computer.

0
source

I got this error after our system administrators added new security settings. Added the ASP user to the Administrators group and resolved it.

0
source

All Articles