Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans