How To Fix Unable To Start Debugging Error



TODO:

I was trying to debug a SharePoint 2007 feature, in Visual Studio 2008, on IIS 7, and was getting the "unable to start debugging on the web server the web server is not configured correctly" error.  I seen many posts on this but what worked for me is documented below.

 

SOLUTION:

Open up you site in IIS.

Right click on the site, and choose Properties.

Click ".Net Compilation"

Under "Behavior", click Debug and set to True.

Now you can debug from Visual Studio

 

NOTES:

There are no notes on this topic.