How to enable detailed error reporting from IIS on Windows Cloud Servers

2020-07-14 By Sam 1149 Views windows iis
1 reviews

The detailed errors reporting is one of the popular error debugging feature in the IIS web server. By default, the IIS web server error messages are disabled from being sent to users in order to prevent exposing more information to outside the server.

In order to enable detailed error messages for the debugging/development purposes,then need to make some adjustments in the IIS web server settings.


See the following instructions for enabling detailed errors reporting for IIS web server on Windows OS


  1. Open IIS web server manager console from your server.

    You may open IIS Manager from the Administrative Tools program group, or you can run the following command from Windows run prompt.

    inetmgr
    

    iisreport1

  2. From the site list, click on the domain that need to enable detailed error messages. and then double click Error Pages in the Feature view.

    iisreport3

  3. Click on the Edit feature setting from the right side Actions menu.

    iisreport4

  4. From the error responses list, check on the Detailed Error and then click OK to save the update the changes.

    iisreport5

  5. Once this done, it will automatically added the following entries in the domain configuration file (web.conf).

    <configuration>
      <system.webserver>
        <httperrors errormode="Detailed">
      </httperrors></system.webserver>
    </configuration>
    

    iisreport6

  6. You can find the domain configuration file under document root of the website. From the IIS, Right click on the domain and choose Explore option to go the document root of the website.

    iisreport7


    Once this you can see the more details of error message while accessing the domain or domain URL

    iisreport8

    NOTE: Make sure to change the settings back once development/debugging is completed.


Related Tutorials


What do you think about this article?

Rate this article