Skip to main content

Notifications

Announcements

No record found.

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.

Upgrade on-premise 8.2 to 9.0 final stage failure

Posted on by Microsoft Employee

Hi all,
After fix organization DB (removing full-text indexes etc), the import procces is worked about 4 hours and ends with logs message

   в Microsoft.Crm.Tools.Admin.InstallDynamicsSolutionsAction.DoOneInternal(SolutionInfo solutionInfo, String fileFullPathAndName, OrganizationInfo organizationInfo)
   в Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)
   в Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   в Microsoft.Crm.Tools.Admin.InstallDynamicsSolutionsAction.<>c__DisplayClass30_0.<Do>b__0()
   в Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)
   в Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   в Microsoft.Crm.Tools.Admin.InstallCrmSystemConvertedSolutionsAction.Do(IDictionary parameters)
   в Microsoft.Crm.Setup.Shared.CrmAction.ExecuteActionHelper(CrmAction action, IDictionary parameters, Boolean undo)

20:31:09|   Info| Setting organization state.  New state = Failed

In addition, it was noticed that MS wipes part of the log, for example:

[Start][256] DoImportFileItem
[Stop][512] DoImportFileItem

17:27:13| Info| Installing msdynce_ProductManagement from C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\msdynce_ProductManagement_managed_Package.zip.
17:27:13| Info| Attempting to acquire lock to unzip package file C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\msdynce_ProductManagement_managed_Package.zip to location C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\PkgCache_9_0_0022_0008\msdynce_ProductManagement.
17:27:13| Info| Acquired llock to unzip package file C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\msdynce_ProductManagement_managed_Package.zip to location C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\PkgCache_9_0_0022_0008\msdynce_ProductManagement. Took 0 seconds.
17:27:13| Info| Package file C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\msdynce_ProductManagement_managed_Package.zip is already unzipped at location C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\PkgCache_9_0_0022_0008\msdynce_ProductManagement.
17:27:13| Info| Released lock for package file C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\msdynce_ProductManagement_managed_Package.zip unzipped to location C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\PkgCache_9_0_0022_0008\msdynce_ProductManagement.
17:27:13| Info| Found msdynce_ProductManagement in cache C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\PkgCache_9_0_0022_0008\msdynce_ProductManagement.
17:27:13| Info| PackageDeployer: Starting msdynce_ProductManagement install.


Why?

and after a while the import ends with a log messages:

[Information][8] Created new importjob id 46943454-b2c9-4383-9bae-5fb3a7f4f7d7

   в Microsoft.Crm.Tools.Admin.InstallDynamicsSolutionsAction.DoOneInternal(SolutionInfo solutionInfo, String fileFullPathAndName, OrganizationInfo organizationInfo)
   в Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)
   в Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   в Microsoft.Crm.Tools.Admin.InstallDynamicsSolutionsAction.<>c__DisplayClass30_0.<Do>b__0()
   в Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)
   в Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   в Microsoft.Crm.Tools.Admin.InstallCrmSystemConvertedSolutionsAction.Do(IDictionary parameters)
   в Microsoft.Crm.Setup.Shared.CrmAction.ExecuteActionHelper(CrmAction action, IDictionary parameters, Boolean undo)
   --- Конец трассировки внутреннего стека исключений ---
   в Microsoft.Crm.Setup.Shared.CrmAction.ExecuteActionHelper(CrmAction action, IDictionary parameters, Boolean undo)
   в Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)
   в Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   в Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)
   в Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   в Microsoft.Crm.Setup.Shared.Installer.<>c__DisplayClass83_0.<DoAction>b__0()
   в Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)
   в Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   в Microsoft.Crm.Setup.Shared.Installer.<>c__DisplayClass67_0.<Install>b__0()
   в Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)
   в Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   в Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
   в Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
   в Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
   в Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Execute()
   в Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
   --- Конец трассировки внутреннего стека исключений ---
   в Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
21:27:30|   Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
21:27:30|   Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 9.0.0022.0008.
21:27:45|  Error| Microsoft.Crm.CrmException: Выдано исключение типа "Microsoft.Crm.CrmException". ---> System.InvalidOperationException: Невозможно вызвать Invoke или BeginInvoke для элемента управления до завершения создания дескриптора окна.
   в System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   в System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
   в Microsoft.Crm.Tools.Admin.ProgressPage.ProgressInvoke(ProgressEventArgs e, Label progressLabel, ProgressBar progressBar)
   в Microsoft.Crm.Setup.Shared.ProgressEventSource.RaiseProgressChanged(Object sender, ProgressEventArgs e)
   в Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.Execute(Object obj)
   в Microsoft.Crm.Tools.Admin.ProgressController.ExecuteHandler()
   --- Конец трассировки внутреннего стека исключений ---
21:27:59|   Info| Deployment Manager Exit

First message was wiped too

How to understand what the problem is when importing an organization by log or what?

Thanks




Helpful resources

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans