Error message when you run the Microsoft Dynamics CRM 4.0 E-mail Router service on a computer that has multi-core processors: "An item with the same key has already been added"

This article has been archived. It is offered "as is" and will no longer be updated.
Symptoms
When you run the Microsoft Dynamics CRM 4.0 E-mail Router service on a computer that has multi-core processors, you may receive the following error message:
An item with the same key has already been added.
Additionally, the following error message is logged in the event log:
The E-mail Router service could not process a provider work item using assembly: Microsoft.Crm.Tools.EmailProviders.dll and class:

Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider. System.ArgumentException: An item with the same key has already been added.

at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at Microsoft.Crm.Tools.Email.Providers.MessageSync.Acquire()
at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.Run()
at Microsoft.Crm.Tools.Email.Agent.ServiceCore.ExecuteProviderWork(Object providerQueueRequestObject)
Resolution
This problem is fixed in the latest cumulative update rollup for Microsoft Dynamics CRM 4.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
949256 Microsoft Dynamics CRM 4.0 updates and hotfixes
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More information
For more information about the terminology that is used to describe Microsoft software updates, click the following article numbers to view the articles in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
887283 Microsoft Business Solutions CRM software hotfix and update package naming standards
Properties

Article ID: 951849 - Last Review: 01/16/2015 02:28:15 - Revision: 3.0

  • Microsoft Dynamics CRM 4.0
  • kbnosurvey kbarchive kberrmsg kbmbsemail kbfix kbautohotfix kbexpertiseinter kbmbsmigrate kbqfe kbhotfixserver KB951849
Feedback