How do I enable detailed error messages in the web.config of my website?

Detailed Errors allows for debugging errors in your websites code.

Without detailed errors enabled, upon an error – the webserver will display a 500 Internal Server Error.

You are able to add the code below to your web.config file within the

<system.webServer> </system.webServer>

to enable detailed error :

<httpErrors errorMode="Detailed"/>

Here is an example:

      <httpErrors errorMode="Detailed"/>

The code sample above does not constitute a complete of your web.config file.
Please do not replace your existing web.config file with the code above and do a backup of your web.config file before changing.

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Do your windows shared hosting accounts support MVC4 and MCV5?

Only our Plesk Windows Shared Hosting accounts support MVC4 and MCV5 applications. When you...

Sending Email via C# and ASP.NET

Add the following to your web.config file:  <>    <mailSettings>...

Force to HTTPS

In the following example we will redirect HTTP to HTTPs using URL Rewrite:Edit your web.config...

ASP.NET Session Timeout

This in-depth analysis helps you know the problem and workaround when you experienced ASP.NET...

User not local; please try a different path. when trying to send through your form on plesk

User not local; please try a different path. The server response was: Sender address is not valid...