Tracing is important in CRM especially when your plugin throw exceptions in Test or Production environments
We can configure and view the trace log file easily using “Crm Trace Log Viewer” tool and it work for both CRM 4.0 and 2011
Once you download the tool
Configure Tracing
- Double click on the “Crm Trace Log Viewer” Application
Crm Trace Log Viewer Application
- Configure Tracing by go to Tools –> Configure Tracing
Configure Tracing
- Provide your CRM server machine IP or Name and click “Ok”
CRM server IP or Machine Name
- Provide the details as given below
- Directory – Path where you want your log files to generate
- Level & Schedule
Configuring Trace
View Trace Log Files
- Once you run the CRM application log files get generate in the path which we provided
Trace Log File
- To view the logs, Go to File –> Open Log
Open the trace log
- Once you open the file, you can view the details in “Details” pane
Exception Details
Note – Don’t forget to disable the tracing after you are done with debugging.
- To disable tracing, open the tool and uncheck the option “Trace Enabled” (Refer image #4)
Outlook Client Tracing
- Using CRM 2011 “Diagnostics Tool”, we can enable/disable tracing in outlook client
- Here is the link
🙂









![[Step by Step] Configure and consume 'Environment Variables' of type 'Secret' using 'Azure Key vault'](https://rajeevpentyala.com/wp-content/uploads/2023/05/image.png)
Leave a comment