locked
Error while copying an organization - Systemuser with user id doesn't exist RRS feed

  • Question

  • Hi,

     

    I am not able to solve this issue for a while now. If somebody can help me it would be really appreciating.

    These are steps I am following

    1. Backup a org1 mscrm database.

    2. Restore a new database from this backup. name it as org2_mscrm.

    3. Import a new organization from org2_mscrm. (using automatic mapping using active directory domain names)

     

    When I got crm/org2/loader.aspx, I get the following exception.

    Error Description:
    systemuser With Id = c8b4fb19-f43d-df11-8bf6-005056aa5293 Does Not Exist

    Error Details:
    systemuser With Id = c8b4fb19-f43d-df11-8bf6-005056aa5293 Does Not Exist

    Full Stack:
    [CrmObjectNotFoundException: systemuser With Id = c8b4fb19-f43d-df11-8bf6-005056aa5293 Does Not Exist]
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32[] deletionCodes, Int32 languageCode)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
       at Microsoft.Crm.Caching.UserDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
       at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.BasicCrmCache`2.CreateEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetUserInfoInternal(WindowsIdentity identity, IOrganizationContext context, UserAuth& userInfo)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId)
       at Microsoft.Crm.Authentication.CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId)
       at Microsoft.Crm.Authentication.WindowAuthenticationProviderBase.Authenticate(HttpApplication application)
       at Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplication application)
       at Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpApplication application)
       at Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



    Other Message:

    Error Number:
    0x80040217

    Source File:
    Not available

    Line Number:
    Not available
     


    Server: crm
     
     
    Request URL:
    http://crm/org2/loader.aspx

     


    If this answers your question, please use the answer button and say so. | Anoop
    Monday, April 5, 2010 5:41 PM

Answers

  • Sorry - map to a Deployment Administrator User in CRM.
    Scott Sewell, CustomerEffective | http:\\blog.CustomerEffective.com | Twitter:@ScottSewell
    Tuesday, April 6, 2010 2:38 AM
    Moderator

All replies

  • make sure the user you are redeploying as gets mapped to a system administrator role in CRM.
    Scott Sewell, CustomerEffective | http:\\blog.CustomerEffective.com | Twitter:@ScottSewell
    Tuesday, April 6, 2010 2:37 AM
    Moderator
  • Sorry - map to a Deployment Administrator User in CRM.
    Scott Sewell, CustomerEffective | http:\\blog.CustomerEffective.com | Twitter:@ScottSewell
    Tuesday, April 6, 2010 2:38 AM
    Moderator