Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 857192 - Last Review: February 2, 2011 - Revision: 7.0
How to modify the Web.config file to show more detailed error messages in Microsoft CRM
This article describes how to modify the web.config file to show more detailed error messages in Microsoft Dynamics CRM 4.0, in Microsoft Dynamics CRM 3.0, in Microsoft CRM 1.2, and in Microsoft Business Solutions CRM 1.0.
You can receive more detailed (debug) error messages in one or more of the following products:
- The Microsoft Dynamics CRM Web client
- The Microsoft CRM 1.2 Sales for Outlook client (the Outlook client)
- The Microsoft Dynamics CRM client for Microsoft Office Outlook
You can modify either or both of the Web.config files that are in the Microsoft CRM deployment. We do not recommend that you use debug error messages in production environments. However, you may find these messages useful when you try to debug a problem that occurs in Microsoft CRM.
To modify the Web.config file, follow these steps:
- In Windows Explorer, locate the Web.config file.
- If you are receiving errors in the Microsoft Dynamics CRM Web client, modify the Web.config file that is located on the Microsoft Dynamics CRM server. By default, this file is located in one of the following folders:
<system drive>:\inetpub\wwwroot
<system drive>:\Program Files\Microsoft Dynamics CRM\CRMWeb
- If you are receiving errors in the Microsoft CRM 1.2 Sales for Outlook client, modify the Web.config file that is located on the client computer. By default, this file is located in the following folder:
<system drive>:\Program Files\Microsoft CRM\Client\res\Web
Note This option is unavailable in the Microsoft CRM 1.0 Sales for Outlook client. - If you are receiving errors in the Microsoft CRM desktop client for Microsoft Office Outlook or in the Microsoft Dynamics CRM online client for Microsoft Office Outlook, modify the Web.config file that is located on the Microsoft CRM server. By default, this file is located in one of the following folders:
<system drive>:\inetpub\wwwroot
<system drive>:\Program Files\Microsoft Dynamics CRM\CRMWeb
- If you are receiving errors in the Microsoft CRM laptop client for Microsoft Office Outlook or in the Microsoft Dynamics CRM offline client for Microsoft Office Outlook, modify the Web.config file that is located on the client computer. By default, this file is located in the following folder:
<system drive>:\Program Files\Microsoft CRM Client\res\Web
- Open the file by using Notepad or another text editing program.
- In the file, scroll down the text toward the end of the file to find the following statement:
<add key="DevErrors" value="Off"/>
By default, this value is set to Off. Modify this line to read as follows:<add key="DevErrors" value="On"/>
Then, save the file. - After you modify the Web.config file on the Microsoft Dynamics CRM server, close the error window, and then retry the same action that resulted in the previous error message. You should receive a more detailed (debug) error message.
- After you use the detailed (debug) error message to troubleshoot, repeat steps 1 through 4 to change the value of the statement back to the default setting of Off. The statement now reads as follows:
<add key="DevErrors" value="Off"/>
- Save the file.
This article was TechKnowledge Document ID: 27228
APPLIES TO
- Microsoft CRM client for Microsoft Office Outlook, when used with:
- Microsoft Dynamics CRM 4.0
- Microsoft Business Solutions CRM Sales for Outlook, when used with:
- Microsoft CRM 1.2
- Microsoft Business Solutions CRM 1.0
| kbmbscrm40 kbcrmv3c kbinfo kbmbsmigrate KB857192 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate