Visual Studio 2005 debugging error

March 19, 2009

I received the below error whilst trying to debug an ASP.NET app using Visual Studio 2005 on Windows Vista using IIS 7.0

The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provide further information.

Turns out that compilation debug = true needs to be specified in the web.config

<compilation debug=”true”>