Monday, January 10, 2011

How to enable tracing in Microsoft Dynamics CRM - Server was unable to process request.

When it comes to web portal development, MS Dynamics CRM 4.0 provide powerful web service interface to communicate over the CRM back end. When you move into MS Dynamic CRM customization area using CRM web service, common error message, that you will see first is “Server was unable to process request.”

Basically this is the common error message, which will be thrown, when anything goes wrong at CRM web Service call.

Only way to troubleshoot this issue is enable MS Dynamics CRM tracing.

How to enable tracing?

Copy billow registry entries into notepad and save it as “EnableTracing.reg”

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM]

"TraceEnabled"=dword:00000001

"TraceCategories"="*:Error"

"TraceCallStack"=dword:00000001

"TraceRefresh"=dword:00000001

Then double click on EnableTracing.reg file. Then it will create registry entries required to enable CRM tracing. Tracing will be logged at “C:\Program Files\Microsoft Dynamics CRM\Trace” folder.

Happy Coding!

Thushara Manchanayake

No comments:

Post a Comment