Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Error on migrating Dynamics 7.03 organization to Dynamics 8.0

Posted on by 170

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

Helpful resources

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans