Tuesday, January 22, 2013

MSCRM 2011 - Cannot start CRM Email Router service



Solution 1
http://support.microsoft.com/kb/954522

Solution 2
  1. Update the Microsoft.Crm.Tools.EmailAgent.xml file.

    <?xml version="1.0" encoding="utf-8"?>
    <Configuration>
      <SystemConfiguration>
        <MaxThreads>50</MaxThreads>
        <MaxThreadExecution>600000</MaxThreadExecution>
        <SchedulingPeriod>1000</SchedulingPeriod>
        <ConfigRefreshPeriod>5000</ConfigRefreshPeriod>
        <ConfigUpdatePeriod>3600000</ConfigUpdatePeriod>
        <LogLevel>1</LogLevel>
        <ProviderOverrides>
          <CacheCapacity>1024</CacheCapacity>
          <PendingStatusDelay>300000</PendingStatusDelay>
          <SendingStatusDelay>1800000</SendingStatusDelay>
          <MaximumDeliveryAttempts>10</MaximumDeliveryAttempts>
          <EWSRetrieveMessageCount>10</EWSRetrieveMessageCount>
          <BatchSize>5</BatchSize>
          <RequestBatchSize>5</RequestBatchSize>
        </ProviderOverrides>
      </SystemConfiguration>
    </Configuration>

    Notes
    • By default, the Microsoft.Crm.Tools.EmailAgent.SystemState.xml file is in the following folder:
      C:\Program Files\Microsoft CRM Email\Service
    • By default, the Service folder is a hidden folder. To see this folder, you must change the Windows Explorer settings to display hidden files and hidden folders.
  2. Restart the Microsoft Dynamics CRM E-mail Router Service.

Best Regards, 
Nicola Grillo