"Invalid Archive Type" Error when Deploying a K2 Package via MSBUILD

  • 16 February 2021
  • 0 replies
  • 177 views

Userlevel 2
Badge +9
 

"Invalid Archive Type" Error when Deploying a K2 Package via MSBUILD

KB002247

PRODUCT
K2 blackpearl 4.7
LEGACY/ARCHIVED CONTENT
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.

 

Issue

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"

 

 

Cause

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.

 

Resolution

To resolve the issue, recreate the MSBUILD package on the upgraded K2 version and then deploy.

 


0 replies

Be the first to reply!

Reply