Rules

Secret ingredients to quality software

Edit
Info

Do you turn on 'Development Errors' and 'Platform Tracing'?

Created on 10 Dec 2012 | Last updated by Tiago Araujo on 09 Feb 2017 06:03 PM (about 4 years ago)

When exceptions occur in CRM they are trapped by the platform layer and a standard error message is displayed to the user. At SSW we similarly implement exception handling and use SSW Code Auditor to audit exception handling.

By turning DevErrors on (mainly applicable to CRM 3 and 4) you will obtain the actual error. This is what that will be posted onto newsgroups. Microsoft Support should also ask you for this information, so you probably cannot do any meaningful troubleshooting until this has been activated. To switch DevErrors on, open the web.config and change DevErrors value ="On".

CRM DevErrors
Figure: Turn on DevErrors within Web.Config file to get details of error

In CRM2011 we accomplish the same thing by turning on tracing. For more information on tracing refer to MS KB907490.

Now if all that info on the MS KS was too much, use the Diagnostics Tool for Microsoft Dynamics CRM 2011. It makes collecting trace information a snap.

Diagnostics for CRM
Figure: Diagnostics for CRM2011

Adam CoganAdam Cogan

We open source. This page is on GitHub