Saturday, January 4, 2014

Display Errors on SharePoint Rather than the SharePoint Custom Error Page

Changes in the Web.Config of inetpub virtual directory

<SafeMode ... CallStack="false" ...> and change it to CallStack="true"
Set <customErrors mode="On" /> to mode="Off"
Set <compilation batch="false" debug="false"> to <compilation batch="true" debug="true">

Changes in the 14 Hive>>Template>>layouts web.config

Set <customErrors mode="On" /> to mode="Off"

Note : Above settings should only be used in development environment to get quick view of the error rather than checking it on ULS. The above method is not recommended on production Environment.

No comments:

Post a Comment