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