Skip to content

Instantly share code, notes, and snippets.

@coreypnorris
Last active August 29, 2015 14:20
Show Gist options
  • Select an option

  • Save coreypnorris/981571063f4eb83e2e9d to your computer and use it in GitHub Desktop.

Select an option

Save coreypnorris/981571063f4eb83e2e9d to your computer and use it in GitHub Desktop.
Enabling/disabling the user error page.
<system.web>
<customErrors mode="On"></customErrors>
<customErrors mode="Off"></customErrors>
// RemoteOnly will show the yellow screen of death in the local enviornment but not the user enviornment.
<customErrors mode="RemoteOnly"></customErrors>
</system.web>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment