How to enable detailed error information from web.config file?

By default, IIS web server will hide detailed error information to prevent exposing more information of your web application. Though, there are times when your web application throws generic error and you want to see actual error to fix it. To enable detailed error information, you’ll have to modify the web.config file of your application and set attributes. Here are the steps.

  1. Locate the web.config file in the wwwroot directory of your web application. Edit it with your choice of editor.

  2. Add following entries to your web.config file to disable generic errors and save the file. If these entries already exist, set their values as shown below.
<customErrors mode="Off" />
<httpErrors errorMode="Detailed" />

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

Which email server do you offer in Windows Hosting?

Windows Shared Plans In Windows Shared Hosting, we provide SmarterMail Enterprise Edition as...

Is HTML5 Supported in Your Servers?

Since HTML content has nothing to do with the web server, there are no special requirements...

How to add new domain for emails only?

Free Mailbox With Domain Registration You can get one FREE mailbox by registering your domain...

Can I upgrade my shared hosting plan to VPS hosting?

Shared hosting plan cannot be upgraded to VPS hosting directly. You can purchase a separate VPS...

Is it possible to change the port number in Shared Hosting?

No. It is not possible to change the port number in Windows Shared Hosting, because, in our...