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

0
84

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

SHARE
Previous articleCreate a recovery disc to install windows 10
Next articleMicrosoft edge private browsing
abhilash, is a programmer by profession and a technology addict with a passion towards browsing , shopping and imaging . My views may be biased on reviews. all images and videos are copyrighted to respective owners.

LEAVE A REPLY

Please enter your comment!
Please enter your name here