views:

1930

answers:

5

My "Start debugging" button and element menu are greyed out... but only on one of my projects (an ASP.NET website). I have no idea what I have done to disable it.

I already checked everything in the Property page of both the solution and project. I even compared it to another project, but nothing seems to do the trick... maybe I missed an option ?

+2  A: 

Is it a startup project? You can only debug projects that can actually be started.

Rik
A: 

Right click on the project and click properties. Then click on Start Options (or something similar) to see the settings. If it's an executable project, you probably want to choose the option that will start the project output.

Dan Goldstein
A: 

If you're able to start the project, you can usually attach the debugger using Ctrl+Alt+P (Or choose Attach to Process from the Debug-menu) and then choose the process from the list that comes up.

Alf
A: 

Do you have the COM+ Event System service running?

tbone
+2  A: 

It sounds like your startup projects are all set to "start without debugging", since that would cause the button and element to grey out.

This can be fixed from Solution -> Set StartUp Projects.

Boris