Delegating error messages in IIS 7.0

There are two settings you should be aware of for hosting that relate to delegation of errors.

1. Delegating ASP's scriptErrorSentToBrowser setting:

You should definitely turn on the ASP script errors, otherwise your customers won't see the useful errors from Classic ASP that IIS 6.0 showed. What your customers will see is the generic error, “An error occurred on the server when processing the URL. Please contact the system administrator.”

This is because detailed ASP error messages are not sent to the browser by default for security reasons. In order to see the details of the error message, you may need to enable sending error messages to the browser. 

The article explains the steps to safely delegate this setting to customers to enable them to get error information in the browser.

2. Delegating errorMode in httpErrors: 

The error modes control how much detail the customer can see, and it is possible to unlock specific attributes so the customer can control only the aspects of this setting that you want to allow.

The article explains how to Delegate the errorMode setting to enable customers to get detailed information on errors, also important for troubleshooting tasks.


No Comments