In this article, we will explain how to enable detailed error pages for the website.
Follow the steps to enable detailed error pages:
You need to modify your application’s web.config file and set attributes through these steps:
- Locate your web.config file in the wwwroot directory of your web application, and edit it with your choice of editor.
- Now, add the following entries to your web.config file to disable generic error and save the file.If these entries already exist, set their values as shown below:
<configuration> <system.web> <customErrors mode="Off" /> </system.web><system.webServer> <httpErrors errorMode="Detailed" /> </system.webServer> </configuration>
In this way, you can enable detailed error pages for your website. For more updates visit our website and find out the most recent web hosting plans.