How we see different error message from the web browser

We always see different error message from the browser. There are four kinds of error pages listed as below. Here I will clarify which kind of error message will be returned under different configuration.

1. Custom page


2. IIS error info


3. ASP.NET error info


4. Hide detailed error


The <httpErrors> element allows you to configure custom error messages for your Web site or application from IIS level. Custom error messages let you provide a friendly or a more informative response by serving a file, returning another resource, or redirecting to a URL when visitors to your site cannot access the content they requested. Please refer to

customErrors is the configuration at the ASP.NET level. Please refer to

Custom error only focus on if the detailed error message returned from If custom error is set to off, we will not see the detailed errorinfo.

Httperrors focus on if returns the custom error info or return the detailed error info. The existing mode focus on if returns the iis error info or error info. The 54 kinds of combinations is listed as below for your reference.



Best Regards,

Charles Liang from GBSD DSI Team

Comments (1)

  1. mazandaran says:

    Service Unavailable

    HTTP Error 503. The service is unavailable.

Skip to main content