Hi
I'm trying to upgrade an organization V8.2 to V9 (with Update 0.6 June 2019) and I'm getting this error message :
Failed to install package msdynce_Sales on attempt 1
...
Error while importing workflow {919e14d1-6489-4852-abd0-a63a6ecaac5d} type BusinessProcessFlow name Lead to Opportunity Sales Process
....
Exception details:
ErrorCode: 0x80060384
Message: BPF entity with this name already exists.
Full log :
19:16:17| Info| Installing msdynce_Sales from C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\msdynce_Sales_managed_Package.zip.
19:16:17| Info| Attempting to acquire lock to unzip package file C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\msdynce_Sales_managed_Package.zip to location C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\PkgCache_9_0_0006_0009\msdynce_Sales.
19:16:17| Info| Acquired llock to unzip package file C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\msdynce_Sales_managed_Package.zip to location C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\PkgCache_9_0_0006_0009\msdynce_Sales. Took 0 seconds.
19:16:17| Info| Unzipping package file C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\msdynce_Sales_managed_Package.zip to location C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\PkgCache_9_0_0006_0009\msdynce_Sales.
19:16:19| Info| Unzipped package file C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\msdynce_Sales_managed_Package.zip to location C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\PkgCache_9_0_0006_0009\msdynce_Sales. Took 2 seconds.
19:16:19| Info| Released lock for package file C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\msdynce_Sales_managed_Package.zip unzipped to location C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\PkgCache_9_0_0006_0009\msdynce_Sales.
19:16:19| Info| Found msdynce_Sales in cache C:\Program Files\Dynamics 365\Setup\Serviceability\Latest\Actions_Org\Install\Packages\CRMApps\PkgCache_9_0_0006_0009\msdynce_Sales.
19:16:19| Info| PackageDeployer: Starting msdynce_Sales install.
19:36:11| Info| Failed to install package msdynce_Sales on attempt 1.
19:36:13| Info| Failed to install msdynce_SalesException: Microsoft.Crm.PackageDeployment.PackageDeployerException: Package msdynce_Sales failed to install on attempt 1.
System.AggregateException: Une ou plusieurs erreurs se sont produites. ---> Microsoft.Crm.MultiTenantPackageDeployment.PackageDeployerImportException: PackageDeployerWrapper: Import Failed status encountered. Details: Failed to load solution Ventes, version: 9.0.4.0076. See the log file.
à Microsoft.Crm.MultiTenantPackageDeployment.PdExecutor.Process(PackageDeploymentInputArgs input, JobOutput`1 output, CancellationToken ct)
à System.Threading.Tasks.Task.Execute()
--- Fin de la trace de la pile d'exception interne ---
---> (Exception interne #0) Microsoft.Crm.MultiTenantPackageDeployment.PackageDeployerImportException: PackageDeployerWrapper: Import Failed status encountered. Details: Failed to load solution Ventes, version: 9.0.4.0076. See the log file.
à Microsoft.Crm.MultiTenantPackageDeployment.PdExecutor.Process(PackageDeploymentInputArgs input, JobOutput`1 output, CancellationToken ct)
à System.Threading.Tasks.Task.Execute()<---
[18/07/2019 17:16:21]: PackageDeployerWrapper: Resetting PackageDeployer operation completion state.
[18/07/2019 17:16:22]: PackageDeployerWrapper: Starting PackageDeployer configuration parsing.
[18/07/2019 17:16:22]: Reading the import configuration. Please wait.
[18/07/2019 17:16:22]: Reading the solutions. Please wait.
[18/07/2019 17:16:22]: Found the solution: Attribution d'un nouveau nom au champ principal Ventes, version: 9.0.4.1319 (Managed)
[18/07/2019 17:16:31]: Found the solution: Ventes, version: 9.0.4.0076 (Managed)
[18/07/2019 17:16:32]: Found the solution: Correctif pour les ventes, version: 9.0.4.1319 (Managed)
[18/07/2019 17:16:34]: Found the solution: SI Common, version: 9.0.1.70227 (Managed)
[18/07/2019 17:16:40]: Found the solution: SI Common, version: 9.0.1.70686 (Managed)
[18/07/2019 17:16:41]: Found the solution: Relationshipassistant, version: 9.0.1.701 (Managed)
[18/07/2019 17:16:41]: Found the detailed data to import.
[18/07/2019 17:16:41]: PackageDeployerWrapper: PackageDeployer successfully finished configuration parsing.
[18/07/2019 17:16:41]: PackageDeployerWrapper: Starting PackageDeployer import operation.
[18/07/2019 17:16:41]: PackageDeployerWrapper: Waiting for PackageDeployer completion...
[18/07/2019 17:36:09]: PackageDeployerWrapper: PackageDeployer reported status [Failed] during import: Failed to load solution Ventes, version: 9.0.4.0076. See the log file.
[18/07/2019 17:36:09]: PackageDeployerWrapper: Logger LastError: Message: Importing solution threw and unforeseen exception
Source : Microsoft.Crm.Extensibility
Method : Execute
Date : 19:36:09
Time : 18/07/2019
Error : Error while importing workflow {919e14d1-6489-4852-abd0-a63a6ecaac5d} type BusinessProcessFlow name Lead to Opportunity Sales Process
Stack Trace : à Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageCore.ImportCode.BaseImportCustomizations.ExecuteImportSolution(ConfigSolutionFile Sol, String sSolutionImportFilePath)
======================================================================================================================
[18/07/2019 17:36:09]: PackageDeployerWrapper: Logger LastException: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault] : Error while importing workflow {919e14d1-6489-4852-abd0-a63a6ecaac5d} type BusinessProcessFlow name Lead to Opportunity Sales Process (le détail de l'erreur est égal à Exception details:
ErrorCode: 0x80040216
Message: Error while importing workflow {919e14d1-6489-4852-abd0-a63a6ecaac5d} type BusinessProcessFlow name Lead to Opportunity Sales Process;
[Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin]
[1b830950-e106-4ee1-b3fd-d348cb65dc8d: ObjectModel Implementation]
TimeStamp: 2019-07-18T17:36:08.4868885Z
--
Exception details:
ErrorCode: 0x80040216
Message: Error while importing workflow {919e14d1-6489-4852-abd0-a63a6ecaac5d} type BusinessProcessFlow name Lead to Opportunity Sales Process
TimeStamp: 2019-07-18T17:36:08.4868885Z
--
Exception details:
ErrorCode: 0x80048021
Message: BPF entity with this name already exists.
TimeStamp: 2019-07-18T17:36:08.4878960Z
--
Exception details:
ErrorCode: 0x80060384
Message: BPF entity with this name already exists.
TimeStamp: 2019-07-18T17:36:08.4878960Z
--
).
[18/07/2019 17:36:09]: PackageDeployerWrapper: PackageDeployerWrapper: OrganizationServiceFault details: Exception details:
ErrorCode: 0x80040216
Message: Error while importing workflow {919e14d1-6489-4852-abd0-a63a6ecaac5d} type BusinessProcessFlow name Lead to Opportunity Sales Process;
[Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin]
[1b830950-e106-4ee1-b3fd-d348cb65dc8d: ObjectModel Implementation]
TimeStamp: 2019-07-18T17:36:08.4868885Z
--
Exception details:
ErrorCode: 0x80040216
Message: Error while importing workflow {919e14d1-6489-4852-abd0-a63a6ecaac5d} type BusinessProcessFlow name Lead to Opportunity Sales Process
TimeStamp: 2019-07-18T17:36:08.4868885Z
--
Exception details:
ErrorCode: 0x80048021
Message: BPF entity with this name already exists.
TimeStamp: 2019-07-18T17:36:08.4878960Z
--
Exception details:
ErrorCode: 0x80060384
Message: BPF entity with this name already exists.
TimeStamp: 2019-07-18T17:36:08.4878960Z
--
[18/07/2019 17:36:09]: PackageDeployerWrapper: Signaling PackageDeployer operation error: Microsoft.Crm.MultiTenantPackageDeployment.PackageDeployerImportException: PackageDeployerWrapper: Import Failed status encountered. Details: Failed to load solution Ventes, version: 9.0.4.0076. See the log file.
[18/07/2019 17:36:09]: PackageDeployerWrapper: PackageDeployer operation completed.
[18/07/2019 17:36:09]: Microsoft.Crm.MultiTenantPackageDeployment.PackageDeployerImportException: PackageDeployerWrapper: Import Failed status encountered. Details: Failed to load solution Ventes, version: 9.0.4.0076. See the log file.
à Microsoft.Crm.MultiTenantPackageDeployment.PackageDeployerWrapperBase.InvokeImport(Nullable`1 timeout)
Detailed logs from PDCore:
[Start][256] ImportCustomizationLoader - Constructor
*This post is locked for comments