Sunday, January 2, 2011

Enable Full Errors in SharePoint 2010

Normally SharePoint shows the custom errors to the users. which is not very relevant in the development environment. thus you can enable the full errors by

  • Go the SharePoint web application using IIS  
  • Open the Web.config
  • Find CallStack word.

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

Change both the CallStack and AllowPageLevelTrace attributes from false to true.

  • then find customErrors and make it to false.

<customErrors mode=”On” /> –> Make this to “RemoteOnly”.

Post a Comment