-
Locate the web.config file in the wwwroot directory of your web application. Edit it with your choice of editor.
- 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.
<configuration>
<system.web>
<customErrors mode="Off" />
</system.web>
<system.webServer>
<httpErrors errorMode="Detailed" />
</system.webServer>
</configuration>