Skip to content

Instantly share code, notes, and snippets.

@csdy
Created August 27, 2023 13:30
Show Gist options
  • Save csdy/207d39be79d190778e01b6ed4c2f96bd to your computer and use it in GitHub Desktop.
Save csdy/207d39be79d190778e01b6ed4c2f96bd to your computer and use it in GitHub Desktop.
IIS — Error Display

Enabling Error Display

Windows Control Panel

Enabling Error Display

  • Login to the Windows Control Panel
  • Navigate to Website Settings > IIS Settings > Advanced
  • Change the Error Mode to "Detailed"
  • Click the "Save" button

Disabling Error Display

  • Login to the Windows Control Panel
  • Navigate to Website Settings > IIS Settings > Advanced
  • Change the Error Mode to "Detailed Local Only"
  • Click the "Save" button

IIS Manager (Manual)

Enabling Error Display

  • Establish a remote desktop connection to the server
  • Launch the IIS Manager application
  • Under the Connections panel in the left sidebar, expand the server node
  • Expand the Sites node
  • Click the website for which you want to enable error display
  • Under the IIS section, double-click the Error Pages icon
  • Under the Actions pane of the right sidebar, click the "Edit Feature Settings..." link
  • Change the Error Responses mode to "Detailed errors"
  • Click the OK button

Disabling Error Display

  • Establish a remote desktop connection to the server
  • Launch the IIS Manager application
  • Under the Connections panel in the left sidebar, expand the server node
  • Expand the Sites node
  • Click the website for which you want to disable error display
  • Under the IIS section, double-click the Error Pages icon
  • Under the Actions pane of the right sidebar, click the "Edit Feature Settings..." link
  • Change the Error Responses mode to "Detailed errors for local requests and custom error pages for remote requests"
  • Click the OK button
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment