compilation debug="true"

Under no circumstances should any clients use the following option in their web.config files on our servers:

<compilation debug="true">

The compilation debug option should only ever be used on your own development machine and never on production servers.

If we find that option enabled on clients websites we will turn it off. If you turn it back on we will suspend your website and account.

There are many reasons for this and it is explained very well in the external article linked below:

http://weblogs.asp.net/scottgu/archive/2006/04/11/Don_1920_t-run-production-ASP.NET-Applications-with-debug_3D001D20_true_1D20_-enabled.aspx

  • 726 Users Found This Useful
Was this answer helpful?

Related Articles

404 Error when you have + (plus) character in your URLs

If you receive a 404 error when you have a + (plus) character in your URLs (usually through URL...

Sessions timeout too quickly - Session state issues.

If your sessions are expiring too quickly then please set the site to use ASP.Net State Server....

Error - It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.

If you receive this error when trying to run an application in a sub folder of your website then...

Error - Validation of viewstate MAC failed.

If you get the following error in your ASP.NET application please follow the instructions below:...

Error - There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined

If you receive the error below when you try and edit a websites settings in the control panel...