How to display real Error in Sharepoint web site

By Namwar Rizvi - Last updated: Saturday, October 25, 2008 - Save & Share - Leave a Comment

Just perform the following steps to display the real error happened in Sharepoint site instead of a generice Unknow error message.

  1. Backup your web.config of web application
  2. In SafeMode tag under SharePoint change 

              CallStack=”true

              MaxControls=”200

After changing, your SafeMode node will be similar to following

<SafeMode MaxControls=”200″ CallStack=”true” DirectFileDependencies=”10″ TotalFileDependencies=”50″ AllowPageLevelTrace=”false”>

3.  Set  customErrors mode=”Off

 

 

Share
Posted in Configuration, Debugging • Tags: , Top Of Page

Write a comment