Tsohost Knowledge Base

How to turn off Windows custom errors

Modified Tuesday 5th May, 2015 at 03:26

Was this helpful?

The <customErrors> section lets you configure what happens when an unhandled error occurs during the execution of a request. Specifically, it enables developers to configure html error pages to be displayed in place of a error stack trace.

To turn off custom errors, simply add these lines into your web.config file.

-->

<customErrors mode="Off" />

If you already have a custom Errors declaration, or any error page declarations you'll need to remove these lines. Turning off custom errors will help you diagnose most ASP.net coding issues.


windowscustom errorscloud

Still can't find what you're looking for?

That's not a problem. Our 24/7 customer support team are friendly and waiting to help answer your questions. The easiest way to get in touch is to raise a support ticket; simply click the button below.

Open Support Ticket