Hello,
We are facing an issue when upgrading our Dynamics CRM organization from 7.0.3 to 8.0. We didn't have any issue upgrading our Dynamics CRM Server to the 8.0.0.
So when we try to upgrade our organization, we get that error:
Exception occured during Microsoft.Crm.Tools.Admin.OrganizationUpgrader: Error.ActionFailed Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction
InnerException:
System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. ---> System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
à Microsoft.Crm.Metadata.AttributeUninstallHandler.DeleteComponent(ComponentTypeMapData componentTypeData, Guid componentObjectId, SolutionUninstallContext solutionUninstallContext)
à Microsoft.Crm.ObjectModel.SolutionComponentUninstaller.Uninstall(ComponentTypeMapData componentTypeData, Guid componentObjectId, SolutionUninstallContext solutionUninstallContext)
à Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.UninstallRecord(ExecutionContext context, Int32 componentType, Guid record)
à Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.CleanupInvalidSolutionReferences(ExecutionContext context, String tableName, String columnName, Int32 componentType)
à Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.CleanupNonExistingSolutionReferences(SqlExecutionContext context)
à Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.Cleanup()
--- Fin de la trace de la pile d'exception interne ---
à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
à System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
à System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
à Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId, Nullable`1 operationType)
à Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
à Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
à Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
à Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase)
à Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)
à Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
InnerException:
System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
à Microsoft.Crm.Metadata.AttributeUninstallHandler.DeleteComponent(ComponentTypeMapData componentTypeData, Guid componentObjectId, SolutionUninstallContext solutionUninstallContext)
à Microsoft.Crm.ObjectModel.SolutionComponentUninstaller.Uninstall(ComponentTypeMapData componentTypeData, Guid componentObjectId, SolutionUninstallContext solutionUninstallContext)
à Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.UninstallRecord(ExecutionContext context, Int32 componentType, Guid record)
à Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.CleanupInvalidSolutionReferences(ExecutionContext context, String tableName, String columnName, Int32 componentType)
à Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.CleanupNonExistingSolutionReferences(SqlExecutionContext context)
à Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.Cleanup()
From french, it. says "Object reference not set to an instance of an object".
Does somebody encoutered that issue before ?
Thanks in advance,
Hubert