How To Fix Unable To Start Debugging Error


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.



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



There are no notes on this topic.

Add comment

  Country flag

  • Comment
  • Preview