CRM 2013 Diagnosing “Access Is Denied” using Fiddler

I recently had to diagnose a CRM 2013 “Access Is Denied” message, back in the world of CRM 2011 this was pretty straight forward. CRM would present an option to download a log file and the log invariably pointed me in the right direction.

However I’ve found that CRM 2013 no longer presents the same option to download the log, you just get the generic error message with no further detailed information. As I was using CRM Online I was unable to check the server logs myself and I didn’t have time to contact Microsoft support.

Untitled

Fortunately Fiddler came to the rescue, by capturing the web traffic between my client machine and the server I was able to find the extended error message. The full error is actually passed to the client it just isn’t presented on screen.

Untitled2You can find the full error message as a parameter in the query string under web forms within the inspector tab.

To do this step by step:

  1. Download and install Fiddler.
  2. All CRM traffic is HTTPS so you will need to enable HTTPS decryption. Remember to turn this off afterwards and remove the interception certificates.
  3. Open CRM and repeat the steps that caused the problem.
  4. Fiddler should capture all the traffic.
  5. Examine the traffic and find the row where the URL contains “/_common/error/errrohandler.aspx?”.
  6. Select the row, click the inspectors tab, click the WebForms tab, the full error will be presented.

 

Advertisements

2 thoughts on “CRM 2013 Diagnosing “Access Is Denied” using Fiddler

  1. Pingback: Getting Started with Fiddler and CRM | Hosk's Dynamic CRM Blog

  2. Pingback: Getting Started with Fiddler and CRM - Microsoft Dynamics CRM Community

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