<{{Subtitle_Weight}} class="prominent-subhead {{Show_Subtitle}}"> {{Header_Subtitle}}

Error on deploying K2 SmartStarter: IT Service Request Package

~~repeating-content.html~~
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

An error appears when deploying the ITServiceRequest.Workflow.Approval Process from K2 SmartStarter: IT Service Request using Package and Deployment.

System.Reflection.TargetInvocationException

The following errors occurred while compiling the process (with framework version 4.5): C:\ProgramData\Temp\xxxxxxxxxxxxxx\Project\ITServiceRequest.Workflow.Approval.kprx(0,0) :

Error : Unable to validate the environment field '[Environment Field]'. The environment library is not connected.

Symptoms

The following errors occurred while compiling the process (with framework version 4.5):
Fail com.K2.App\ITServiceRequest.Workflow.Approval 
C:\ProgramData\Temp\xxxxxxxxxxxxxx\Project\ITServiceRequest.Workflow.Approval.kprx(0,0): error : Unable to validate the environment field '[Environment Field]'. The environment library is not connected.

Troubleshooting Steps

To resolve the issue complete the following steps:

  1. Restart the K2 Blackpearl service

  2. Perform an iisreset.