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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Upgrade to v 9 failed Microsoft.Crm.Extensibility The customization cab file should contain two and only two files

(1) ShareShare
ReportReport
Posted on by 115

While upgrading our organization from 8.2.5.4 to 9.0.3.7 on-premise the installation fails on the the following error: 

[14-06-19 09:51:41]: PackageDeployerWrapper: Resetting PackageDeployer operation completion state.
[14-06-19 09:51:41]: PackageDeployerWrapper: Starting PackageDeployer configuration parsing.
[14-06-19 09:51:41]: Reading the import configuration. Please wait.
[14-06-19 09:51:41]: Reading the solutions. Please wait.
[14-06-19 09:51:41]: Found the solution: Microsoft Dynamics 365 Settings APIs, version: 9.1 (Managed)
[14-06-19 09:51:41]: PackageDeployerWrapper: PackageDeployer successfully finished configuration parsing.
[14-06-19 09:51:41]: PackageDeployerWrapper: Starting PackageDeployer import operation.
[14-06-19 09:51:41]: PackageDeployerWrapper: Waiting for PackageDeployer completion...
[14-06-19 09:51:42]: PackageDeployerWrapper: PackageDeployer reported status [Failed] during import: Failed to load solution Microsoft Dynamics 365 Settings APIs, version: 9.1. See the log file.
[14-06-19 09:51:42]: PackageDeployerWrapper: Logger LastError: Message: Importing solution threw and unforeseen exception
Source	: Microsoft.Crm.Extensibility
Method	: Execute
Date	: 11:51:42
Time	: 14-06-19
Error	: The customization cab file should contain two and only two files
Stack Trace	: at Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageCore.ImportCode.BaseImportCustomizations.ExecuteImportSolution(ConfigSolutionFile Sol, String sSolutionImportFilePath)
======================================================================================================================

[14-06-19 09:51:42]: PackageDeployerWrapper: Logger LastException: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: The customization cab file should contain two and only two files (Fault Detail is equal to Exception details: 
ErrorCode: 0x80048060
Message: The customization cab file should contain two and only two files; 
[Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin]
[1b830950-e106-4ee1-b3fd-d348cb65dc8d: ObjectModel Implementation]


TimeStamp: 2019-06-14T09:51:42.0944219Z
--
Exception details: 
ErrorCode: 0x80048060
Message: The customization cab file should contain two and only two files
TimeStamp: 2019-06-14T09:51:42.0944219Z
--
).
[14-06-19 09:51:42]: PackageDeployerWrapper: PackageDeployerWrapper: OrganizationServiceFault details: Exception details: 
ErrorCode: 0x80048060
Message: The customization cab file should contain two and only two files; 
[Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin]
[1b830950-e106-4ee1-b3fd-d348cb65dc8d: ObjectModel Implementation]


TimeStamp: 2019-06-14T09:51:42.0944219Z
--
Exception details: 
ErrorCode: 0x80048060
Message: The customization cab file should contain two and only two files
TimeStamp: 2019-06-14T09:51:42.0944219Z
--

[14-06-19 09:51:42]: PackageDeployerWrapper: Signaling PackageDeployer operation error: Microsoft.Crm.MultiTenantPackageDeployment.PackageDeployerImportException: PackageDeployerWrapper: Import Failed status encountered. Details: Failed to load solution Microsoft Dynamics 365 Settings APIs, version: 9.1. See the log file.
[14-06-19 09:51:42]: PackageDeployerWrapper: PackageDeployer operation completed.
[14-06-19 09:51:42]: Microsoft.Crm.MultiTenantPackageDeployment.PackageDeployerImportException: PackageDeployerWrapper: Import Failed status encountered. Details: Failed to load solution Microsoft Dynamics 365 Settings APIs, version: 9.1. See the log file.
   at Microsoft.Crm.MultiTenantPackageDeployment.PackageDeployerWrapperBase.InvokeImport(Nullable`1 timeout)
Detailed logs from PDCore:
[Start][256] ImportCustomizationLoader - Constructor
[Stop][512] ImportCustomizationLoader - Constructor
[Verbose][16] Initialize CRM connection Started - AuthType: AD
[Verbose][16] Externally provided connection to CRM Service - Retrieving Version Info
[Start][256] ReadConfig
[Information][8] Starting Config Reading process:
[Information][8] ReadingConfig from : C:\PROGRAM FILES\DYNAMICS 365\SETUP\SERVICEABILITY\LATEST\ACTIONS_ORG\INSTALL\SOLUTIONS\OTHERS\PKGCACHE_9_0_0003_0007\CRMSETTINGSAPIS\SettingsUIDataSDK\ImportConfig.xml
[Verbose][16] New Batch Manager Created, Max #of Batches:50000, Max #of RequestsPerBatch:5000
[Verbose][16] Externally provided connection to CRM Service - Org Version: 9.0.3.7
[Information][8] Beginning Validation of CRM Connection
[Information][8] Validation of CRM Connection Complete, total duration: 00:00:00
[Verbose][16] Unpacking config
[Information][8] Reading Solutions.. Please wait
[Start][256] Entering UnZipFiles ( System.Io )
[Verbose][16] Uncompressing CAB file to temp directory
[Verbose][16] Uncompressing CAB file to temp directory complete
[Stop][512] Exiting UnZipFiles ( System.Io )
[Verbose][16] Cleaning up Temp Working Directory - C:\Users\{{USER}}\AppData\Local\Temp\0rn5k5j4.42g
[Start][256] BaseImportCustomizations - Constructor
[Information][8] Found One Custom Extension
[Information][8] Deployment Target Organization ID: f12bbf5a-356c-4e07-9ce5-219d52e2ebbf
[Information][8] Deployment Target Organization UniqueName: N/A - InProc Connection
[Information][8] Deployment Target Organization Version: 9.0.3.7
[Information][8] Deployment Target Organization Uri: N/A - InProc Connection
[Information][8] Deployment Target Organization Time marker: 06-14-2019 11:51:41 +02:00
[Stop][512] BaseImportCustomizations - Constructor
[Start][256] BeginSolutionImport
[Stop][512] BeginSolutionImport
[Information][8] Completed Config Reading process
[Stop][512] ReadConfig
[Verbose][16] Executed Command - WhoAmI : Execute (WhoAmI) request to CRM from IOrganizationService : RequestID=778da4e5-7602-4bdc-8afe-a1c3a65aaa0b : duration: 00:00:00
[Start][256] DoImportSolutionItem
[Start][256] CreateProgressItem
[Stop][512] CreateProgressItem
[Start][256] IsSolutionalreadyDeployed
[Start][256] DeterminSolutionAction
[Stop][512] DeterminSolutionAction
[Information][8] Executing OverrideSolutionImportDecision Custom code
[Information][8] Processing Solution Microsoft Dynamics 365 Settings APIs(CRMSettingsAPIs) - Inbound version: 9.1 - Deployed Version 0.0.0.0, System Determined Import Action: Import
[Information][8] ImportSolution - Initial solution Microsoft Dynamics 365 Settings APIs install of version 9.1
[Stop][512] ImportSolution
[Start][256] ImportSolution
[Information][8] Importing solution for Microsoft Dynamics 365 Settings APIs Version: 9.1
[Start][256] RaiseUpdateEvent
[Stop][512] RaiseUpdateEvent
[Information][8] Executing PreSolutionImport Custom code
[Information][8] Executing Solution Import Pre v8.0
[Verbose][16] Executed Command - RetrieveMultiple : GetEntityDataBySearchParms : RequestID=c4620da4-bd56-4d47-b8e2-5895469071c0 : duration: 00:00:00
[Information][8] Created new importjob id 734c32e3-00cc-43dd-9473-0286e0b860a5
[Verbose][16] Failed to Execute Command - ImportSolution : RequestID=4a0b4a8b-304d-4dff-8ae6-e95a5973374a
[Error][2] Source	: Microsoft.Crm.Extensibility
Method	: Execute
Date	: 14-06-19
Time	: 11:51:42
Error	: Message: The customization cab file should contain two and only two files
ErrorCode: -2147188640
Trace: 
[Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin]
[1b830950-e106-4ee1-b3fd-d348cb65dc8d: ObjectModel Implementation]


Stack Trace	: at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext)
   at Microsoft.Crm.Extensibility.InprocessServiceProxy.ExecuteCore(OrganizationRequest request)
   at Microsoft.Xrm.Tooling.Connector.CrmServiceClient.CrmCommand_Execute(OrganizationRequest req, String errorStringCheck)
======================================================================================================================
Inner Exception Level 1	: 
==OrganizationServiceFault Info=======================================================================================
Error	: The customization cab file should contain two and only two files
Time	: 14-06-19 09:51:42
ErrorCode	: -2147188640
Date	: 14-06-19
Time	: 11:51:42
Trace	: Not Provided
======================================================================================================================

[Error][2] Message: Importing solution threw and unforeseen exception
Source	: Microsoft.Crm.Extensibility
Method	: Execute
Date	: 11:51:42
Time	: 14-06-19
Error	: The customization cab file should contain two and only two files
Stack Trace	: at Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageCore.ImportCode.BaseImportCustomizations.ExecuteImportSolution(ConfigSolutionFile Sol, String sSolutionImportFilePath)
======================================================================================================================

 Does anyone has any idea? 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Sven Vervynckt Profile Picture
    115 on at
    We tried to repair the installation but that didn't solve the issue.
    In the end, we did the following steps:
    1. Uninstalled the "Microsoft Dynamics 365 Server" (via Control Panel > Software)
    2. Restart the server
    3. Install "Microsoft Dynamics 365 Server" again using an existing deployment (when we initially installed MS Dynamics 365 Server, we chose to start from a new deployment)
    4. Install "Update 0.5" (release June 2019
    5. Restart the Server
    6. Import the organization

    Now the error with the CAB files didn't occur anymore. Hope this helps. 

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans