Everything SharePoint/Silverlight/WP7

My continuous learning of SharePoint, Silverlight, WP7 Development, Office, VSTO, C#…

Turn off SharePoint Custom Error Messages

Posted by Steve Pietrek on July 28, 2007

Below is a list of steps to turn off SharePoint custom error messages so you can see the “true” ASP.NET error message along with the callstack/stack trace. I would recommend only making the following changes in a development environment – not production.

  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.
Advertisement

One Response to “Turn off SharePoint Custom Error Messages”

  1. Pablo said

    perfect!

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.