How to: Resolve “Unable to start debugging on the web server. The web server is not configured correctly”.

This is a strange message actually. You’re not supposed to see this, unless someone tinkers with the web.config file of your application.

What this message means is that the debug=true command is missing from your web.config file (or, it was somehow removed). to resolve, locate the line that refers to the compilation and change to (or, create if you don’t have one):

<compilation debug=”true” defaultLanguage=”c#” />

Make sure to change the defaultLanguage directive to match the language your application works with.

You can actually search for the word “compilation” in your web.config. The reason this would be useful is that depending on your configuration, the tag structure may be different. You may find this instead:

<compilation batch=”false” debug=”false”></compilation>

In this case too, just change the debug value to “true”.

MGR: the Intelogist

About MGR: the Intelogist

SharePoint Server developer, turned Sitefinity developer, turned Angular developer, turned SharePoint Online consultant, turned Unily consultant, turned O365 consultant... Never a dull moment!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

This site uses Akismet to reduce spam. Learn how your comment data is processed.