Select the product you need help with
Error message when you create multiple users at the same time by using the Service.Create(user) method in Microsoft Dynamics CRM 4.0: "Cannot insert duplicate key"Article ID: 971353 - View products that this article applies to. SYMPTOMSYou want to create multiple Microsoft Dynamics CRM users at the same time. Therefore, you create multiple worker threads, and each worker thread uses the service.Create(user) method, as shown in the following example. 0x80040237 Cannot insert duplicate key. CrmService.Create failed with an error "Restraint 'AKI_UserSettinsBase_TrackingTokenId' Unique KEY violation. Cannot import duplicate key. RESOLUTIONThis 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
(http://support.microsoft.com/kb/949256/
)
Microsoft Dynamics CRM 4.0 updates and hotfixes
PropertiesArticle ID: 971353 - Last Review: July 2, 2009 - Revision: 1.0
|


Back to the top








