Asked by:
Crm 2011 Update Rollup 14 Organization Upgrade Error

Question
-
Hi
I got an error when i want to upgrade import organization database to update Rollup 14.
Here the error message:
08:47:21| Error| Installer Complete: OrganizationDatabaseHotFixer - Error encountered
08:47:21| Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationDatabaseHotFixer: Action Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction failed.
InnerException:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.CrmException: The ribbon item 'Mscrm.AddFileToSelectedRecord' is dependent on <EnableRule Id="Mscrm.IsNotIos" />.
at Microsoft.Crm.ObjectModel.RibbonDependencyCalculatorBase.LogMissingDependency(CrmException exception)
at Microsoft.Crm.ObjectModel.RibbonCommandDependencyCalculator.AddRuleAncestor(XElement commandDefinition, String ruleId, Int32 ruleType, String entityLogicalName, DependencyTypes type, FormEntityLookup formEntityLookup, ExecutionContext context)
at Microsoft.Crm.ObjectModel.RibbonCommandDependencyCalculator.FindRules(XElement commandDefinition, String entityLogicalName, DependencyTypes type, FormEntityLookup formEntityLookup, ExecutionContext context)
at Microsoft.Crm.ObjectModel.RibbonCommandDependencyCalculator.DetermineDependencies(BusinessEntity entity, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.Tools.ImportExportPublish.ImportRibbonsHandler.CheckForNonExistantDependencies(Boolean throwErrors)
at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport()
at Microsoft.Crm.SE.DllMethodActions.ImportSystemSolution.Execute(String targetRevision)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
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.ApplyDBUpdates(Guid orgId)
at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdatesInternal(Guid orgId, String orgUniqueName, String releaseFilePath, Boolean ignoreErrors)
at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdates(Guid orgId, String orgUniqueName, OrganizationOperationType operationType)
at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
InnerException:
Microsoft.Crm.CrmException: The ribbon item 'Mscrm.AddFileToSelectedRecord' is dependent on <EnableRule Id="Mscrm.IsNotIos" />.
at Microsoft.Crm.ObjectModel.RibbonDependencyCalculatorBase.LogMissingDependency(CrmException exception)
at Microsoft.Crm.ObjectModel.RibbonCommandDependencyCalculator.AddRuleAncestor(XElement commandDefinition, String ruleId, Int32 ruleType, String entityLogicalName, DependencyTypes type, FormEntityLookup formEntityLookup, ExecutionContext context)
at Microsoft.Crm.ObjectModel.RibbonCommandDependencyCalculator.FindRules(XElement commandDefinition, String entityLogicalName, DependencyTypes type, FormEntityLookup formEntityLookup, ExecutionContext context)
at Microsoft.Crm.ObjectModel.RibbonCommandDependencyCalculator.DetermineDependencies(BusinessEntity entity, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.Tools.ImportExportPublish.ImportRibbonsHandler.CheckForNonExistantDependencies(Boolean throwErrors)
at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport()
at Microsoft.Crm.SE.DllMethodActions.ImportSystemSolution.Execute(String targetRevision)Can anybody tell me thats means: The ribbon item 'Mscrm.AddFileToSelectedRecord' is dependent on <EnableRule Id="Mscrm.IsNotIos" />.
and what i have to do?
Thanks.
Friday, September 20, 2013 2:31 PM
All replies
-
Hello,
I know this is an old thread now, but I have had the same error running Update Rollup 15, unlike the poster above who was running Rollup 14:
11:19:26| Error| Installer Complete: OrganizationDatabaseHotFixer - Error encountered
11:19:27| Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationDatabaseHotFixer: Action Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction failed.
InnerException:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.CrmException: The ribbon item 'Mscrm.AddFileToSelectedRecord' is dependent on <EnableRule Id="Mscrm.IsNotIos" />.
at Microsoft.Crm.ObjectModel.RibbonDependencyCalculatorBase.LogMissingDependency(CrmException exception)
at Microsoft.Crm.ObjectModel.RibbonCommandDependencyCalculator.AddRuleAncestor(XElement commandDefinition, String ruleId, Int32 ruleType, String entityLogicalName, DependencyTypes type, FormEntityLookup formEntityLookup, ExecutionContext context)
at Microsoft.Crm.ObjectModel.RibbonCommandDependencyCalculator.FindRules(XElement commandDefinition, String entityLogicalName, DependencyTypes type, FormEntityLookup formEntityLookup, ExecutionContext context)
I wondered if anyone had an answer to what was causing the problem?
Thanks
Friday, November 29, 2013 5:10 PM