Logging and Handling Microsoft Dynamics CRM 2013 Exceptions – Part 2

June 15, 2014

In the previous post, I described the business problem of logging and handling implementation level exceptions. In this post, I would like to suggest a solution. Before you continue reading, note that logging implementation level exceptions is up to your code developer. Although the solution supplies easy methods to log exceptions (to be demonstrated in part 3), nothing will be logged If your custom code does not use the solution components. Let’s start by defining some business requirements for the suggested solution: Support Microsoft Dynamics CRM 2013 of any deployment type Expose minimum exception details to...

Logging and Handling Microsoft Dynamics CRM 2013 Exceptions – Part 1

June 2, 2014

In this 3-parts post I would like to suggest a general approach and solution for logging and handling exceptions in Microsoft Dynamics CRM 2013 implementations. By exceptions, I don’t mean Microsoft Dynamics CRM product core exceptions which occur from time to time. These are logged by various designated repositories (such as Event Viewer and CRM Trace) and beyond our reach anyway, certainly in Online deployments. I do mean unexpected events that arise from custom code written in both server and client side in most Microsoft Dynamics CRM 2013 implementations. These events are usually related to poorly written code,...