Showing the StackTrace in SharePoint

Instead of being stuck with the default errors in sharepoint (usually ‘unexpected error’), you can force SharePoint to show the StackTrack.

To do so, you must make 2 changes to the web.config file of each site where you wish to enable this.

First of all, set the ‘Mode’ value of the ‘CustomErrors’ element to ‘Off’ (or ‘RemoteOnly’)

Second, set the ‘CallStack’ value for the ‘SafeMode’ element to ‘true’

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>