This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.
When deploying a K2 package using MSBUILD in an upgraded K2 environment, you may receive an "Invalid Archive Type" error as follows:
Error","General","28083","ExtenderExecuteError","ProcessInstance.HandleException","28083 ServerEvent: Invalid archive type
InnerException: Invalid archive type"
When you create packages with MSBUILD on a different version of K2, and then deploy the package using MSBUILD on an environment that is upgraded, there is a mismatch between the packaged assemblies and the assemblies on the target environment. The package cannot be opened which results in the "Invalid Archive Type" error.
To resolve the issue, recreate the MSBUILD package on the upgraded K2 version and then deploy.