Skip to main content

While deploying Incident management starter pack i gettting below error 

 

"K2 Application Accelerator - Incident Management v1.1" package deployed 9/8/2016 7:47:20 PM
User Account: 
Success K2_Application_Accelerators 00:00:00.0169606
Success Incident Review 00:00:01.0865282
Success Incident New 00:00:01.1826644
Success Forms 00:00:00.0233317
Fail OperationsIncident Resolution
The following errors occurred while compiling the process (with framework version 4.0): Build started 9/8/2016 12:33:10 PM. Build attempt was terminated due to inactivity from the build process. System.Reflection.TargetInvocationException: The following errors occurred while compiling the process (with framework version 4.0):
Build started 9/8/2016 12:33:10 PM.


Build attempt was terminated due to inactivity from the build process. ---> System.Exception: The following errors occurred while compiling the process (with framework version 4.0):
Build started 9/8/2016 12:33:10 PM.


Build attempt was terminated due to inactivity from the build process.


at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.ExecuteBuild(String toolsVersion, String projPath)
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.BuildProject(String toolsVersion, String projPath)
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.DeployWorker(Object param)
--- End of inner exception stack trace ---
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.Deploy(Stringi] parts, String kprojDir, String kprojName, String kprxDir, String kprxName, String targetFramework, IEnumerable`1 refs)
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.IsolatedDeploy(Action`1 data, ComplexType ct, IEnumerable`1 refs, String sessionCookie, ISecurityManager securityManager)
at SourceCode.Runtime.Services.Workflow.WorkflowDeploymentService.Deploy(IDeploymentContext context)
at SourceCode.Deployment.Runtime.ServerSession.BeginDeploy() 00:04:04.5292758
Success Incident_Management 00:00:00.0134206
Total Duration: 00:04:06.8521813

System.Reflection.TargetInvocationException: The following errors occurred while compiling the process (with framework version 4.0):
Build started 9/8/2016 12:33:10 PM.


Build attempt was terminated due to inactivity from the build process. ---> System.Exception: The following errors occurred while compiling the process (with framework version 4.0):
Build started 9/8/2016 12:33:10 PM.


Build attempt was terminated due to inactivity from the build process.


at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.ExecuteBuild(String toolsVersion, String projPath)
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.BuildProject(String toolsVersion, String projPath)
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.DeployWorker(Object param)
--- End of inner exception stack trace ---
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.Deploy(Stringi] parts, String kprojDir, String kprojName, String kprxDir, String kprxName, String targetFramework, IEnumerable`1 refs)
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.IsolatedDeploy(Action`1 data, ComplexType ct, IEnumerable`1 refs, String sessionCookie, ISecurityManager securityManager)
at SourceCode.Runtime.Services.Workflow.WorkflowDeploymentService.Deploy(IDeploymentContext context)
at SourceCode.Deployment.Runtime.ServerSession.BeginDeploy()

@Manis I would start from checking .NET versions in source and target environments. Most likely you run .NET version not supported by your version of K2 in source environment and this causing your error.


K2 4.6.10 only supports .NET 4.5 RTM not newer


K2 4.6.11 only supports .NET 4.6 not newer


K2 4.7 only supports .NET 4.6.1 not newer


Always refer to K2 compatibility matrix for details: https://help.k2.com/blackpearl/support-matrix#NET


 


In order to quickly check on what you have installed on your K2 server when it comes to .NET I would recommend ASoft .NET Version Detector if you want more sophisticated or scriptable ways of checking .NET version refer to MSDN article How to: Determine Which .NET Framework Versions Are Installed


 


Specifically for error messages you mentioned I can say that 4.6.11 does not support .NET 4.6.1 as it breaks the serializers which are leveraged by P&D.


Reply