An error appears when deploying a package: "The following errors occurred while compiling the process (with Framework Version 4.0)"

  • 24 February 2022
  • 0 replies
  • 116 views

Userlevel 5
Badge +20
 

An error appears when deploying a package: "The following errors occurred while compiling the process (with Framework Version 4.0)"

kbt152514

PRODUCT
K2 blackpearl 4.7
K2 smartforms 4.7
BASED ON
K2 blackpearl 4.7
TAGS
Deployment
K2 Designer for Visual Studio
K2 Designer for SharePoint
K2 Studio
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
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

The error appears when deploying a Workflow package: "The following Errors occurred while compiling the process (with Framework Version 4.0)" .

Symptoms

You will see the following when opening the full error log: 

"The field 'SmartForms Designer Runtime SSL' used in the Event Item on the 'ClientEvent' Event does not exist in the environment library. Create the required field where necessary." 

Image

Troubleshooting Steps

To resolve the issue, ensure that the "ClientEvent" event is configured to use the correct environment field, then repackage the solution.
Alternatively, recreate the environment field in the target environment. After this, you should be able to deploy with no issues.

0 replies

Be the first to reply!

Reply