While doing migration from CRM 4.0 to CRM 2011 we are seeing below errors. Can someome please help?
Violation of PRIMARY KEY constraint 'PK__#CRMUser__59D4927787DAA449'. Cannot insert duplicate key in object 'dbo.#CRMUserColumns'. The duplicate key value is (ActivityPointerBase, DeletionStateCode).
Violation of PRIMARY KEY constraint 'PK__#CRMDefa__59D492777F3602E5'. Cannot insert duplicate key in object 'dbo.#CRMDefaultValues'. The duplicate key value is (ActivityPointerBase, DeletionStateCode).
But in trace I see this error.
Crm Exception: Message: LookupAccountNameW failed with error, ErrorCode: -2147214038
[2018-06-01 08:46:34.916] Process: mmc |Organization:00000000-0000-0000-0000-000000000000 |Thread: 10(UserMappingProgressPage-Worker-thread) |Category: ADUtility |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: | SecurityUtils.GetSidFromAccount ilOffset = 0x0
>Error while retrieving SID from account domain\username . Exception: Microsoft.Crm.CrmSecurityException: LookupAccountNameW failed with error
at Microsoft.Crm.SecurityUtils.GetSidFromAccount(String accountName)
*This post is locked for comments