Search This Blog

Tuesday, June 23, 2015

How to enable custom errors in Share point error

In share point while getting error we may see the correlation ID. But that is not really understandable i guess.
But we do have an option to enable custom error message which is understandable by anyone.

Here are the steps to enable that settings:

1. 15/Layouts folder we have a web.config file. In that file find Custom Errors and change its mode          as Off
    Ex: customErrors mode="Off"

2. Open your webapplication's web.config file.
     a) Find CallStack and change it's value as true
          Ex: CallStack="true"
     b) Find find Custom Errors and change its mode as Off
          Ex: customErrors mode="Off"
     c) Find debug and change its mode as true
          Ex: debug="true"

Once you finished these steps, hereafter you will get clean error message and you can solve it in your way..


thank you

No comments:

Post a Comment

Restricting Custom People Picker to only one Sharepoint group programatically

Refer the following script files in your page,     <!-- For People Picker -->     <script type="text/javascript" src...