Custom Error Page in SharePoint 2013/2010

Open Web.Config file for your web application.

For Custom Error – I

change in web config tags

<SafeMode MaxControls="200" CallStack="false" DirectFileDependencies="10" 
         TotalFileDependencies="250" AllowPageLevelTrace="true">

<customErrors mode="On" />

Error III

For Custom Error – II

change in web config tags

<SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10" 
         TotalFileDependencies="250" AllowPageLevelTrace="false">
<customErrors mode="RemoteOnly" />

Error II

Shows Error Detail on Yellow Screen

For Custom Error – III

change in web config tags

<SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10" 
         TotalFileDependencies="250" AllowPageLevelTrace="false">
<customErrors mode="On" />
Error I

Does Not Shows Error Detail on Yellow Screen

 

Advertisements
This entry was posted in SharePoint and tagged , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s