web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Error when upgrading Organization from 8.2.2.112 to 9.1.6.3

(0) ShareShare
ReportReport
Posted on by 5

I'm trying to import our Organization database (currently on version 8.2.2.112) into a new Dynamics 365 Customer Engagement environment that is on version 9.1.6.3.
This fails with the following exception (see the bigger context in which this error occurs below), leaving the Organization database in the Failed status:

    Microsoft.Crm.CrmException: Error in Action: Bin\Microsoft.Crm.DataUpgrade.dll:Microsoft.Crm.DataUpgrade.DatabaseChangeTracker:TrackCustomDatabaseObjects on attempt 3. System.ArgumentNullException: Value cannot be null.
    Parameter name: type
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.Activator.CreateInstance(Type type)
       at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId, Nullable`1 operationType)
       ...

Now, the weird thing is that this also happens when I create a brand new organization in 8.2.2.112 and try to import that database in my Dynamics 365 Customer Engagement v9.1.6.3 - it produces exactly the same error, so it looks like it doesn't have anything to do with the particular customizations in our Organization database...

The (I hope relevant) part of the crmdmsnapin.log is as follows:

10:14:01|   Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
10:14:01|   Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 9.1.0006.0003.
10:14:57|   Info| Import Organization Wizard launched from Organization action pane
10:15:00|Verbose| Retrieving database base language code Data Source=MYVIRTUAL;Initial Catalog=Dummy_MSCRM;Integrated Security=True;Enlist=False;Connect Timeout=30;Application Name=MSCRMmmc;Workstation ID=MYVIRTUAL.mmc ...
10:15:00|   Info| Database base language code: 1043.
10:15:00|Verbose| Retrieving database version Data Source=MYVIRTUAL;Initial Catalog=Dummy_MSCRM;Integrated Security=True;Enlist=False;Connect Timeout=30;Application Name=MSCRMmmc;Workstation ID=MYVIRTUAL.mmc ...
10:15:00|   Info| Database version: 8.2.2.112.
10:15:00|   Info| Retrieved organization ID 3114bfc8-7441-ec11-95a6-001dd8b745ae.
10:15:00|Verbose| Begin: Check if Solutions for different Org Types are installed for org 00000000-0000-0000-0000-000000000000 using connection Data Source=MYVIRTUAL;Initial Catalog=Dummy_MSCRM;Integrated Security=True;Enlist=False;Connect Timeout=30;Application Name=MSCRMmmc;Workstation ID=MYVIRTUAL.mmc
10:15:00|Verbose| End: Check if CRM Solutions are installed. Solutions found = 
10:15:00|Verbose| Retrieving database version Data Source=MYVIRTUAL;Initial Catalog=Dummy_MSCRM;Integrated Security=True;Enlist=False;Connect Timeout=30;Application Name=MSCRMmmc;Workstation ID=MYVIRTUAL.mmc ...
10:15:00|   Info| Database version: 8.2.2.112.
10:15:00|   Info| Database Dummy_MSCRM version is 8.2.2.112
10:15:00|   Info| Database may be imported into the deployment with upgrade.
10:15:01|   Info| OrgFriendlyNameValidator linking to help topic: https://go.microsoft.com/fwlink/?linkid=2023038 
10:15:01|   Info| OrgUniqueNameValidator linking to help topic: https://go.microsoft.com/fwlink/?linkid=2023096 
10:15:02|   Info| ReportingUrlValidator linking to help topic: https://go.microsoft.com/fwlink/?linkid=2022897 
10:15:03|   Info| Attempting to map user "Admin, Crm" with account MYDOMAIN\crmadmin
10:15:03|   Info| Successfully mapped account MYDOMAIN\crmadmin
10:15:03|   Info| CompleteUserMapping for ByAccountUserMapper running
10:15:03|Verbose| Mapping was successful
10:15:03|   Info| CompleteUserMapping for ByAccountUserMapper completed
10:15:04|   Info| ImportCurrentUserMappingValidator linking to help topic: https://go.microsoft.com/fwlink/?linkid=2022997 
10:15:04|   Info| EdwModeProperty: DMSnapIn.Organization.Import
10:15:04|   Info| ImportOperationTypeProperty: ImportOrganization
10:15:04|   Info| InstallInfo.InstallType: None
10:15:04|   Info| OrganizationInfo.BaseCurrencyCode: EUR
10:15:04|   Info| OrganizationInfo.BaseCurrencyName: Euro
10:15:04|   Info| OrganizationInfo.BaseCurrencyPrecision: 2
10:15:04|   Info| OrganizationInfo.BaseCurrencySymbol: €
10:15:04|   Info| OrganizationInfo.BaseLanguageCode: 1043
10:15:04|   Info| OrganizationInfo.ConnectionString: Data Source=MYVIRTUAL;Initial Catalog=Dummy_MSCRM;Integrated Security=True;Connect Timeout=60
10:15:04|   Info| OrganizationInfo.DatabaseName: Dummy_MSCRM
10:15:04|   Info| OrganizationInfo.ExistingDatabaseVersion: 8.2.2.112
10:15:04|   Info| OrganizationInfo.FullTextSearchLocaleId: 1043
10:15:04|   Info| OrganizationInfo.ImportUserMapper: Microsoft.Crm.Tools.Admin.ByAccountUserMapper
10:15:04|   Info| OrganizationInfo.OperationTypeProperty: Import
10:15:04|   Info| OrganizationInfo.OrganizationCollation: Latin1_General_CI_AI
10:15:04|   Info| OrganizationInfo.OrganizationFriendlyName: Dummy
10:15:04|   Info| OrganizationInfo.OrganizationUniqueName: Dummy
10:15:04|   Info| OrganizationInfo.OrgType: CRM
10:15:04|   Info| OrganizationInfo.ReportingUrl: http://MYVIRTUAL/reportserver
10:15:04|   Info| OrganizationInfo.SkipSelectMappingPage: True
10:15:04|   Info| OrganizationInfo.SqlServerInstanceName: MSSQLSERVER
10:15:04|   Info| OrganizationInfo.SqlServerMachineName: MYVIRTUAL
10:15:04|   Info| OrganizationInfo.SqlServerName: MYVIRTUAL
10:15:04|   Info| OrganizationInfo.SqlServerNameObject: Microsoft.Crm.Setup.Server.Utility.SqlServerNames
10:15:04|   Info| ServerInstallInfo.UpgradeType: FromV8
10:15:04|   Info| Users: System.Collections.ObjectModel.Collection`1[Microsoft.Crm.UserManagement.User]
...
10:15:14|   Info| Import Organization Wizard completed
10:15:14|   Info| Starting organization import
10:15:14|   Info| Setting IsOnline = False
10:15:14|Verbose| Retrieving database version Data Source=MYVIRTUAL;Initial Catalog=Dummy_MSCRM;Integrated Security=True;Enlist=False;Connect Timeout=30;Application Name=MSCRMmmc;Workstation ID=MYVIRTUAL.mmc ...
10:15:14|   Info| Database version: 8.2.2.112.
10:15:14|Verbose| Retrieving database version Data Source=MYVIRTUAL;Initial Catalog=Dummy_MSCRM;Integrated Security=True;Enlist=False;Connect Timeout=30;Application Name=MSCRMmmc;Workstation ID=MYVIRTUAL.mmc ...
10:15:14|   Info| Database version: 8.2.2.112.
10:15:14|   Info| Database Dummy_MSCRM version is 8.2.2.112
10:15:14|   Info| Database may be imported into the deployment with upgrade.
10:15:14|   Info| Organization must be upgraded and imported
10:15:14|   Info| Retrieved organization ID 3114bfc8-7441-ec11-95a6-001dd8b745ae.
10:15:14|   Info| multipleTenancy for the deployment is True
10:15:14|   Info| Retrieved organization ID 3114bfc8-7441-ec11-95a6-001dd8b745ae.
10:15:14|Verbose| Checking Organization Id Data Source=MYVIRTUAL;Initial Catalog=MSCRM_CONFIG;Integrated Security=True;Enlist=False;Connect Timeout=30;Application Name=MSCRMmmc;Workstation ID=MYVIRTUAL.mmc ...
10:15:14|   Info| Organization Id is unique
10:15:14|   Info| UpdateOUGroupsInDatabase started
10:15:14|   Info| PrivilegedUserGroupName = , SqlAccessGroupName = , ReportingGroupName = , PrivilegedReportingGroupName = 
10:15:14|   Info| Granting access to CRM security groups for the deployment
10:15:15|   Info| UpdateOUGroupsInDatabase finished
10:15:15|   Info| Adding users to the config database
10:15:15|   Info| System Administrator "Admin, Crm" with account MYDOMAIN\crmadmin was added to the configDB successfully
10:15:15|   Info| Update Organization...
10:15:15|Verbose| Retrieving database base language code Data Source=MYVIRTUAL;Initial Catalog=Dummy_MSCRM;Integrated Security=True;Enlist=False;Connect Timeout=30;Application Name=MSCRMmmc;Workstation ID=MYVIRTUAL.mmc ...
10:15:15|   Info| Database base language code: 1043.
10:15:15|Verbose| Retrieving database version Data Source=MYVIRTUAL;Initial Catalog=Dummy_MSCRM;Integrated Security=True;Enlist=False;Connect Timeout=30;Application Name=MSCRMmmc;Workstation ID=MYVIRTUAL.mmc ...
10:15:15|   Info| Database version: 8.2.2.112.
10:15:15|Verbose| Begin: Check if Solutions for different Org Types are installed for org 3114bfc8-7441-ec11-95a6-001dd8b745ae using connection Data Source=MYVIRTUAL;Initial Catalog=Dummy_MSCRM;Integrated Security=True;Enlist=False;Connect Timeout=30;Application Name=MSCRMmmc;Workstation ID=MYVIRTUAL.mmc
10:15:15|Verbose| End: Check if CRM Solutions are installed. Solutions found = 
10:15:15|   Info| Not setting state to Pending as it is already set to Pending
10:15:15|   Info| Installer Start: OrganizationUpgrader.Install: operation Upgrade
10:15:15|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.UpdateConnectionStringAction
10:15:15|   Info| CrmAction execution time; UpdateConnectionStringAction; 00:00:00.1843256
10:15:15|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.SetOrganizationDatabaseStateAction
10:15:16|   Info| CrmAction execution time; SetOrganizationDatabaseStateAction; 00:00:00.1349952
10:15:16|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.BackupRolePrivilegesAction
10:15:16|   Info| CrmAction execution time; BackupRolePrivilegesAction; 00:00:00.2179994
10:15:16|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction
10:15:16|   Info| Executing: action Bin\Microsoft.Crm.SE.DatabaseActions.dll:Microsoft.Crm.SE.DllMethodActions.RegisterDatabaseTransition:RegisterTransition with id 00000000-0000-0000-0000-0000000000ff of type DllMethod to Register that a database transition is occurring.
10:15:16|   Info| Executing: action Bin\Microsoft.Crm.SE.DatabaseActions.dll:Microsoft.Crm.SE.DllMethodActions.RegisterDatabaseTransition:RegisterTransition with id 00000000-0000-0000-0000-0000000000ff of type DllMethod to Register that a database transition is occurring.
10:15:16|   Info| Executing: action Bin\Microsoft.Crm.SE.DatabaseActions.dll:Microsoft.Crm.SE.DllMethodActions.RegisterDatabaseTransition:RegisterTransition with id 00000000-0000-0000-0000-0000000000ff of type DllMethod to Register that a database transition is occurring.
10:15:16|   Info| Register that a database transition is occurring
10:15:16|   Info| Register that a database transition is occurring
10:15:16|   Info| Register that a database transition is occurring
...
10:15:16|Verbose| DatabaseAction execution time; Scripts\DedupMimeAttachmentsOverwriteTime.sql; 00:00:00.0119988
10:15:16|Verbose| DatabaseAction execution time; Scripts\DedupMimeAttachmentsOverwriteTime.sql; 00:00:00.0119988
10:15:16|Verbose| DatabaseAction execution time; Scripts\DedupMimeAttachmentsOverwriteTime.sql; 00:00:00.0119988
10:15:16|   Info| Executing: action Bin\Microsoft.Crm.SE.DatabaseActions.dll:Microsoft.Crm.SE.DllMethodActions.SharedCacheState:CreateSharedCacheStateTable with id a737c14e-73e9-414e-8fb3-e0958c12b8f2 of type DllMethod to 
				Een SharedCacheState-tabel toevoegen als deze nog niet bestaat.
			.
10:15:16|   Info| Executing: action Bin\Microsoft.Crm.SE.DatabaseActions.dll:Microsoft.Crm.SE.DllMethodActions.SharedCacheState:CreateSharedCacheStateTable with id a737c14e-73e9-414e-8fb3-e0958c12b8f2 of type DllMethod to 
				Een SharedCacheState-tabel toevoegen als deze nog niet bestaat.
			.
10:15:16|   Info| Executing: action Bin\Microsoft.Crm.SE.DatabaseActions.dll:Microsoft.Crm.SE.DllMethodActions.SharedCacheState:CreateSharedCacheStateTable with id a737c14e-73e9-414e-8fb3-e0958c12b8f2 of type DllMethod to 
				Een SharedCacheState-tabel toevoegen als deze nog niet bestaat.
			.
10:15:16|   Info| Executing: action Scripts\CleanupNonTopActiveSolutionRows.sql with id 523ec76f-f5fd-4377-888c-c8b6c840eb50 of type SqlScript to Cleanup the rows where the Active solution is not top anymore.
10:15:16|   Info| Executing: action Scripts\CleanupNonTopActiveSolutionRows.sql with id 523ec76f-f5fd-4377-888c-c8b6c840eb50 of type SqlScript to Cleanup the rows where the Active solution is not top anymore.
10:15:16|   Info| Executing: action Scripts\CleanupNonTopActiveSolutionRows.sql with id 523ec76f-f5fd-4377-888c-c8b6c840eb50 of type SqlScript to Cleanup the rows where the Active solution is not top anymore.
10:15:16|   Info| Executing: action Bin\Microsoft.Crm.DataUpgrade.dll:Microsoft.Crm.DataUpgrade.DatabaseChangeTracker:TrackCustomDatabaseObjects with id 00000000-0000-0000-0000-0000000000ff of type DllMethod to 
				Aangepaste databaseobjecten in de database bijhouden
			.
10:15:16|   Info| Executing: action Bin\Microsoft.Crm.DataUpgrade.dll:Microsoft.Crm.DataUpgrade.DatabaseChangeTracker:TrackCustomDatabaseObjects with id 00000000-0000-0000-0000-0000000000ff of type DllMethod to 
				Aangepaste databaseobjecten in de database bijhouden
			.
10:15:16|   Info| Executing: action Bin\Microsoft.Crm.DataUpgrade.dll:Microsoft.Crm.DataUpgrade.DatabaseChangeTracker:TrackCustomDatabaseObjects with id 00000000-0000-0000-0000-0000000000ff of type DllMethod to 
				Aangepaste databaseobjecten in de database bijhouden
			.
10:15:16|   Info| 
				Aangepaste databaseobjecten in de database bijhouden
			
10:15:16|   Info| 
				Aangepaste databaseobjecten in de database bijhouden
			
10:15:16|   Info| 
				Aangepaste databaseobjecten in de database bijhouden
			
10:15:16|   Info| Action Bin\Microsoft.Crm.DataUpgrade.dll:Microsoft.Crm.DataUpgrade.DatabaseChangeTracker:TrackCustomDatabaseObjects with id 00000000-0000-0000-0000-0000000000ff of type DllMethod to 
				Aangepaste databaseobjecten in de database bijhouden
			 failed on attempt 2. Retrying in 30 seconds. Exception: Value cannot be null.
Parameter name: type
10:15:16|   Info| Action Bin\Microsoft.Crm.DataUpgrade.dll:Microsoft.Crm.DataUpgrade.DatabaseChangeTracker:TrackCustomDatabaseObjects with id 00000000-0000-0000-0000-0000000000ff of type DllMethod to 
				Aangepaste databaseobjecten in de database bijhouden
			 failed on attempt 2. Retrying in 30 seconds. Exception: Value cannot be null.
Parameter name: type
10:15:16|   Info| Action Bin\Microsoft.Crm.DataUpgrade.dll:Microsoft.Crm.DataUpgrade.DatabaseChangeTracker:TrackCustomDatabaseObjects with id 00000000-0000-0000-0000-0000000000ff of type DllMethod to 
				Aangepaste databaseobjecten in de database bijhouden
			 failed on attempt 2. Retrying in 30 seconds. Exception: Value cannot be null.
Parameter name: type
10:15:46|   Info| Action Bin\Microsoft.Crm.DataUpgrade.dll:Microsoft.Crm.DataUpgrade.DatabaseChangeTracker:TrackCustomDatabaseObjects with id 00000000-0000-0000-0000-0000000000ff of type DllMethod to 
				Aangepaste databaseobjecten in de database bijhouden
			 failed on attempt 3. Retrying in 30 seconds. Exception: Value cannot be null.
Parameter name: type
10:15:46|   Info| Action Bin\Microsoft.Crm.DataUpgrade.dll:Microsoft.Crm.DataUpgrade.DatabaseChangeTracker:TrackCustomDatabaseObjects with id 00000000-0000-0000-0000-0000000000ff of type DllMethod to 
				Aangepaste databaseobjecten in de database bijhouden
			 failed on attempt 3. Retrying in 30 seconds. Exception: Value cannot be null.
Parameter name: type
10:15:46|   Info| Action Bin\Microsoft.Crm.DataUpgrade.dll:Microsoft.Crm.DataUpgrade.DatabaseChangeTracker:TrackCustomDatabaseObjects with id 00000000-0000-0000-0000-0000000000ff of type DllMethod to 
				Aangepaste databaseobjecten in de database bijhouden
			 failed on attempt 3. Retrying in 30 seconds. Exception: Value cannot be null.
Parameter name: type
10:16:16|   Info| CrmAction execution time; UpgradeDatabaseAction; 00:01:00.4903206
10:16:16|  Error| Installer Complete: OrganizationUpgrader - Error encountered
10:16:16|  Error| Exception occurred during Microsoft.Crm.Tools.Admin.OrganizationUpgrader: Error.ActionFailed Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction
InnerException:
Microsoft.Crm.CrmException: Error in Action: Bin\Microsoft.Crm.DataUpgrade.dll:Microsoft.Crm.DataUpgrade.DatabaseChangeTracker:TrackCustomDatabaseObjects on attempt 3. System.ArgumentNullException: Value cannot be null.
Parameter name: type
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId, Nullable`1 operationType)
   at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
   at Microsoft.Crm.Setup.Database.DatabaseInstaller.<>c__DisplayClass86_0.b__0()
   at Microsoft.Crm.Setup.Database.DatabaseInstaller.<>c__DisplayClass86_0.b__0()
   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
   at Microsoft.Crm.Setup.Database.DatabaseInstaller.installInternal(Boolean isInstall, Int32 languageCode)
   at Microsoft.Crm.Setup.Database.DatabaseInstaller.<>c__DisplayClass93_0.b__0()
   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   at Microsoft.Crm.Setup.Database.DatabaseInstaller.<>c__DisplayClass94_0.b__0()
   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.DoAction(IDictionary parameters)
   at Microsoft.Crm.Tools.Admin.OrganizationAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteActionHelper(CrmAction action, IDictionary parameters, Boolean undo)

10:16:16|   Info| Changing organization state. New state = Failed, Existing state = Pending
10:16:16|Verbose| Retrieving database base language code Data Source=MYVIRTUAL;Initial Catalog=Dummy_MSCRM;Integrated Security=True;Enlist=False;Connect Timeout=30;Application Name=MSCRMmmc;Workstation ID=MYVIRTUAL.mmc ...
10:16:16|   Info| Database base language code: 1043.
10:16:16|Verbose| Retrieving database version Data Source=MYVIRTUAL;Initial Catalog=Dummy_MSCRM;Integrated Security=True;Enlist=False;Connect Timeout=30;Application Name=MSCRMmmc;Workstation ID=MYVIRTUAL.mmc ...
10:16:16|   Info| Database version: 8.2.2.112.
10:16:16|Verbose| Begin: Check if Solutions for different Org Types are installed for org 3114bfc8-7441-ec11-95a6-001dd8b745ae using connection Data Source=MYVIRTUAL;Initial Catalog=Dummy_MSCRM;Integrated Security=True;Enlist=False;Connect Timeout=30;Application Name=MSCRMmmc;Workstation ID=MYVIRTUAL.mmc
10:16:16|Verbose| End: Check if CRM Solutions are installed. Solutions found = 
10:16:16|  Error| Upgrade Organization with Id=3114bfc8-7441-ec11-95a6-001dd8b745ae failed with Exception:
System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction ---> Microsoft.Crm.CrmException: Error in Action: Bin\Microsoft.Crm.DataUpgrade.dll:Microsoft.Crm.DataUpgrade.DatabaseChangeTracker:TrackCustomDatabaseObjects on attempt 3. System.ArgumentNullException: Value cannot be null.
Parameter name: type
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId, Nullable`1 operationType)
   at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
   at Microsoft.Crm.Setup.Database.DatabaseInstaller.<>c__DisplayClass86_0.b__0()
   at Microsoft.Crm.Setup.Database.DatabaseInstaller.<>c__DisplayClass86_0.b__0()
   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
   at Microsoft.Crm.Setup.Database.DatabaseInstaller.installInternal(Boolean isInstall, Int32 languageCode)
   at Microsoft.Crm.Setup.Database.DatabaseInstaller.<>c__DisplayClass93_0.b__0()
   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   at Microsoft.Crm.Setup.Database.DatabaseInstaller.<>c__DisplayClass94_0.b__0()
   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.DoAction(IDictionary parameters)
   at Microsoft.Crm.Tools.Admin.OrganizationAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteActionHelper(CrmAction action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteActionHelper(CrmAction action, IDictionary parameters, Boolean undo)
   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   at Microsoft.Crm.Setup.Shared.Installer.<>c__DisplayClass83_0.b__0()
   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   at Microsoft.Crm.Setup.Shared.Installer.<>c__DisplayClass67_0.b__0()
   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
   at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
   at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
   at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.b__8_0()
   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)

Can anybody help me out?

I have the same question (0)
  • Suggested answer
    Leon Bouquiet Profile Picture
    5 on at
    RE: Error when upgrading Organization from 8.2.2.112 to 9.1.6.3

    Hi Pedro, thanks for your reply.

    I did notice that importing an English organization succeeded, but that all 1043 (=Dutch) organizations failed.

    So I followed your advice in copying the serverrelease.xml file from the 1033 to the 1043 folder, and it produced a different error, meaning that we're on the right track here!

    I didn't realize that I had to update the language pack to 9.1 separately (although in hindsight it makes sense of course), so I downloaded and installed the CRM9.1-Mui-KB4615457-NLD-Amd64.exe from www.microsoft.com/.../details.aspx, and it looks like the migration is going right this time!

    It's still running at the moment, but I wanted to thank you right away ;)

  • Leon Bouquiet Profile Picture
    5 on at
    RE: Error when upgrading Organization from 8.2.2.112 to 9.1.6.3

    Thanks for your quick reply; I tried the steps as described, but there were no unfinished/pending bulk operation jobs in my organization database.

  • Suggested answer
    Pedro Cadavez de Freitas Profile Picture
    on at
    RE: Error when upgrading Organization from 8.2.2.112 to 9.1.6.3

    Hello Leon,

    Hope you are well.

    This exception normally is seen when the serverrelease.xml file is not the latest one provided for a specific language.

    Can you confirm if you base server language is english or 1043?

    If its english, please try replacing the serverrelease.xml file from 1033 to 1043 folder.

    This is under:

    C:\Program Files\Dynamics 365\LangPacks\1033\Xrm\sql\9

    Above, i'm targeting language 1033. Grab that serverrelease.xml and copy it to the 1043 folder.

    Please also confirm if you installed 1043 latest language pack for v9.1

    If your base language is 1043, the problem comes because while upgrading, that file was skipped to be upgraded. In this case you might need to reinstall CRM or grab the serverrelease.xml from another correct 9.1.6 deployment.

  • Nya Profile Picture
    29,060 on at
    RE: Error when upgrading Organization from 8.2.2.112 to 9.1.6.3

    Hi,

    Please refer to the following support documentation:

    Upgrading to Microsoft Dynamics Server Version 9.0 on-premises results in error: Error.ActionFailed Microsoft.Crm.Tools.Admin.OneTimePostAppsInstallUpgradeAction

Under review

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

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 401

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 71 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans
Liquid error: parsing "/globalsearch/?q=SUMMER%5C%2FVINDS++NURSERY+%2342+" - Nested quantifier +.