Enable / disable Dev error message

Sometimes we don’t understand what the hell is going on behind the scene while working with Dynamics CRM. As error messages are in friendly manner, eg below

So, in such time it’s better to get the detailed message that will direct to correct the problem.

For such, senario we can enable descriptive/developer error with unsupported way. Login to CRM server and open ‘web.config’ and set developer errors to ‘On’ instead of off as shown below,

<add key=”DevError” value=”On”/> from <add key=”DevError” value=”Off”/>.

It will show you descriptive error message like below

But for the end user it’s disaster, he thinks that application has been broken and raises the critical bug. So just reverse, everything will be alright.