Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm getting the following event log entry when I turn on tracing in CRM using the Crm Diagnostics Tool. Any ideas why it's not picking up the correct directory to place the files?

CrmTrace encountered a failure creating or opening the file named

C:\Program Files\Microsoft Dynamics CRM\Trace\CRM-SERVER-CrmAsyncService-bin-20091106-1.log. (Reporting Process:CrmAsyncService, AppDomain:C:\Program Files\Microsoft Dynamics CRM\Server\bin)

TIA.

share|improve this question

2 Answers 2

  • Why are you running the trace, what problem are you troubleshooting?
  • Do you have write access to that Trace directory?
  • Can you click the "Create File" button and post that information?
  • Have you enabled "DevErrors"?
share|improve this answer
    
- I'm troubleshooting the lack of outgoing emails via the email router. Incoming emails to a queue work fine but no outgoing ones work. I'm trying to get the trace working as some googling indicates that useful information might be hiding there! I've got it working though - I had to create the Trace directory and then give write access to it for the account that was running the CRM IIS process. Thanks. –  David Collie Nov 9 '09 at 18:20

The permissions should be given to the user running the Asynchronous service, that is not the same as the IIS Application Pool.

Check the Account that is running the Async Service, and the Email router. Both accounts should have access to the directory described in the error in the Event Viewer (C:\Program Files\Microsoft Dynamics CRM\Trace)

After that you should have access to the logs.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.