Pages

Sunday, December 27, 2009

Turn off custom errors


  1. Navigate to the site directory.
  2. Backup web.config.
  3. Open web.config.
  4. Switch Custom Errors off. Search for “customErrors” and set the value to “Off” instead of “On”. You can also set the value to “RemoteOnly” to troubleshoot a production issue.
  5. Enable CallStack. Search for “CallStack” and set the value to “true” instead of “false”.
  6. Save web.config.

No comments:

Post a Comment