Enable detailed Error listing for Classic ASP and ASPX in a shared hosting server

When we are using a shared hosting server which is already in production for our development , this might not return detailed error messages to the browser, in these cases it will come to a permanent trouble to the development team. to enable detailed error listing do two thing

The Web.config file

1. Edit for disabling custome errors if any

<system.web>
<customErrors mode=”Off” />
</system.web>

Now add this tag to get detailed error

<system.webServer>
<httpErrors errorMode=”Detailed” />
</system.webServer>

In some cases you need to restart IIS , if so contact your provider for the same

Now onward IIS will report detailed error ¬†to browser, Don’t forget to remove these changes when your project go live