Ensure custom error messages are not off

The system displays an error message in these scenarios:

  • An ASP.NET application fails and causes an HTTP/1.x 500 internal server error.
  • A feature configuration such as the Request Filtering prevents a page from being displayed.

Administrators can configure the feature setting to display a friendly message to the client, a detailed error message to the client, or a detailed error message to local host only.

To configure the settings:

  1. Access the IIS Manager GUI and navigate to the site to be configured.
  2. Double-click the .NET Error Pages option in the Features View section.
  3. Click Edit Feature Settings in the Actions section.
  4. Select the On or the Remote Only for Mode option in the Modal Dialog section.
  5. Click OK.