locked
RU18 cant update database RRS feed

  • Question

  • Hi Guys,

    RU18 went good on the server, but when updating the database it failed with:

    10:35:57|   Info| Inserting into DBUpdateInstallInfo_V5: Revision = 4376, DBUpdateActionId = abcc14c3-ae89-4390-a31b-0de01f970600, CrmDatabase = ConfigOnPremise
    10:35:57|   Info| Inserting into DBUpdateInstallInfo_V5: Revision = 4376, DBUpdateActionId = 2600adf4-b922-4d13-8496-ed514bad570e, CrmDatabase = ConfigOnPremise
    10:35:57|   Info| Inserting into DBUpdateInstallInfo_V5: Revision = 4376, DBUpdateActionId = d417b6b6-5a2c-4be1-a3e4-f51954acdc19, CrmDatabase = ConfigOnPremise
    10:35:57|   Info| Inserting into DBUpdateInstallInfo_V5: Revision = 4376, DBUpdateActionId = b8959bd2-42ef-44dc-b00f-744798b9e708, CrmDatabase = ConfigOnPremise
    10:35:57|   Info| Inserting into DBUpdateInstallInfo_V5: Revision = 4376, DBUpdateActionId = e0f06bdb-21e8-472d-b21f-c07aabb9e0ca, CrmDatabase = ConfigOnPremise
    10:35:57|   Info| Inserting into DBUpdateInstallInfo_V5: Revision = 4376, DBUpdateActionId = 1475935d-b5b2-4c8f-aba3-e6ac19c99f12, CrmDatabase = ConfigOnPremise
    10:35:57|   Info| Inserting into DBUpdateInstallInfo_V5: Revision = 4376, DBUpdateActionId = bf059710-a28f-4ae4-b107-aacff3aa85bb, CrmDatabase = ConfigOnPremise
    10:37:05|   Info| Database update install failed for orgId = 19bc3794-bb9c-e411-8e5c-005056a77f05.  Continuing with other orgs.  Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Void Microsoft.Crm.Caching.UserData.Initialize(Microsoft.Crm.Caching.ICacheEntityWrapper, Microsoft.Crm.Caching.ICacheEntityWrapper, Microsoft.Crm.Sdk.RolePrivilege[], Microsoft.Crm.Sdk.RolePrivilege[], Boolean, Microsoft.Xrm.Sdk.AttributePrivilegeCollection, System.Guid[], System.Guid[], System.Guid[], System.Collections.Generic.Dictionary`2<Int32,System.Guid[]>, Boolean, System.TimeZone, Boolean, Microsoft.Crm.IOrganizationContext)'.
       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.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.ExecutionContext.SetCaller(Guid callerId, Boolean setCallerLanguage, Boolean verifyUser)
       at Microsoft.Crm.BusinessEntities.ExecutionContext.SwitchCaller(Guid callerId, Boolean switchAuditInfo, Boolean changeLanguageCode, Boolean verifyUser)
       at Microsoft.Crm.BusinessEntities.UserContext..ctor(ExecutionContext context, Guid callerId, Boolean switchAuditingInfo, Boolean changeCallerLanguage, Boolean verifyUser)
       at Microsoft.Crm.BusinessEntities.SystemUserContext..ctor(ExecutionContext context, Boolean switchAuditingInfo)
       at Microsoft.Crm.Dependency.ComponentCollector.ProcessRecords(ExecutionContext context)
       at Microsoft.Crm.BusinessEntities.ExecutionContext.ProcessDependencies(FlushCacheOption option, CreateNewCollectorOption createOption)
       at Microsoft.Crm.BusinessEntities.ExecutionContext.OnEndRequest()
       at Microsoft.Crm.Setup.MetadataPatchService.ProcessMetadataDiffFile(String targetRevision)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
       at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.OrgInstall(ArrayList orgIdArray)
    10:38:03|   Info| Database update install failed for orgId = f1c1ec93-51a9-40b8-9d90-09b70bcf7e17.  Continuing with other orgs.  Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Void Microsoft.Crm.Caching.UserData.Initialize(Microsoft.Crm.Caching.ICacheEntityWrapper, Microsoft.Crm.Caching.ICacheEntityWrapper, Microsoft.Crm.Sdk.RolePrivilege[], Microsoft.Crm.Sdk.RolePrivilege[], Boolean, Microsoft.Xrm.Sdk.AttributePrivilegeCollection, System.Guid[], System.Guid[], System.Guid[], System.Collections.Generic.Dictionary`2<Int32,System.Guid[]>, Boolean, System.TimeZone, Boolean, Microsoft.Crm.IOrganizationContext)'.
       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.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.ExecutionContext.SetCaller(Guid callerId, Boolean setCallerLanguage, Boolean verifyUser)
       at Microsoft.Crm.BusinessEntities.ExecutionContext.SwitchCaller(Guid callerId, Boolean switchAuditInfo, Boolean changeLanguageCode, Boolean verifyUser)
       at Microsoft.Crm.BusinessEntities.UserContext..ctor(ExecutionContext context, Guid callerId, Boolean switchAuditingInfo, Boolean changeCallerLanguage, Boolean verifyUser)
       at Microsoft.Crm.BusinessEntities.SystemUserContext..ctor(ExecutionContext context, Boolean switchAuditingInfo)
       at Microsoft.Crm.Dependency.ComponentCollector.ProcessRecords(ExecutionContext context)
       at Microsoft.Crm.BusinessEntities.ExecutionContext.ProcessDependencies(FlushCacheOption option, CreateNewCollectorOption createOption)
       at Microsoft.Crm.BusinessEntities.ExecutionContext.OnEndRequest()
       at Microsoft.Crm.Setup.MetadataPatchService.ProcessMetadataDiffFile(String targetRevision)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
       at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.OrgInstall(ArrayList orgIdArray)
    10:38:03|   Info| Inserting into DBUpdateInstallInfo_V5: Revision = 4376, DBUpdateActionId = 00000000-0000-0000-0000-0000000000ff, CrmDatabase = Org

    Any ideas?

    Thxxxxx!

    Friday, February 6, 2015 12:20 PM