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.

Comments

Popular posts from this blog

Install Node.js without admin rights

Create a lean React Solution using Typescript

Replace all occurence of String in JavaScript