Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"The solution file is invalid" error occurs in Dynamics 365


View products that this article applies to.

Symptom

When attempting to import a solution in Dynamics 365, you encounter the following error:

"The solution file is invalid. The compressed file must contain the following files at its root: solution.xml, customizations.xml, and [Content_Types].xml. Customization files exported from previous versions of Microsoft Dynamics 365 are not supported.

Error code 80048060."

↑ Back to the top


Cause

This error can occur if you attempt to import a solution file that is not valid. Dynamics 365 solution files are stored as .zip files that contain files with the following names:

  • solution.xml
  • customizations.xml
  • [Content_Types].xml

 

If you attempt to import a solution file that does not contain these files, this error will occur.

↑ Back to the top


Resolution

Verify the .zip file you are trying to import contains the files mentioned in the cause section and then attempt to import the solution again. 

Example: If you had extracted the solution .zip file and made manual changes to customizations.xml but rezipped just that file, you would encounter this error. You need to select all of the files that were in the .zip file and choose to compress them to a zipped folder before trying to reimport them.

↑ Back to the top


Keywords: 80048060, Dynamics 365, -2147188640, solution, file, invalid, compressed

↑ Back to the top

Article Info
Article ID : 4456506
Revision : 3
Created on : 8/1/2018
Published on : 8/1/2018
Exists online : False
Views : 651