System Packages and Controls failed to deploy during install/upgrade, and repair does not redeploy

  • 24 February 2022
  • 0 replies
  • 17 views

Userlevel 5
Badge +20
 

System Packages and Controls failed to deploy during install/upgrade, and repair does not redeploy

kbt151551

PRODUCT
K2 blackpearl 4.7
BASED ON
K2 blackpearl 4.7
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

 

After upgrading or installing K2 you see that there are errors in the InstallerTrace logs that indicate a failure for any of the .kspx packages and controls registering similar to the following:

12:30: ControlUtil.InvokeControlUtil: 16:13:21:>> Logged Error: Error from controlutil output: RegisterControlTypes Failed: Error Sending BufferAn existing connection was forcibly closed by the remote host
12:31: Component.ExecuteTarget: 16:25:25:>> Logged Error: Target did not complete successfully: K2 for SharePoint 2013.kspx
12:31: Component.ExecuteTarget: 16:25:25:>> Package not set to break on failure.

Symptoms

 

1. Based on the specific package that failed you are seeing errors tied to the related artifacts. In this case we saw Management.kspx failed and when loading the K2 Management page we were presented with the error:

"Object reference not set to an instance of an object"

2. P&D logs (K2 blackpearlSetup logs will share same name as the package that was deployed) from installer, for installing the management or K2 for SharePoint 2013.kspx package had errors similar to:

"ControlType 'Timer' not found at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Object[] Parameters, Boolean[] NullList, MarshalMessageType CallType) at SourceCode.Hosting.Client.BaseAPI.BaseAPI.RemoteSessionCall(String TypeName, String MethodName, Object[] Parameters, Boolean[] NullList) at SourceCode.Forms.Management.FormsManager.DoSessionCall(String method, Object[] parameters, Boolean[] nullList) at SourceCode.Forms.Management.FormsManager.Deploy(String definition, String category, Boolean checkIn, Boolean skipReferenceValidation) at SourceCode.Runtime.Services.Forms.FormsSessionData.DeployView(View view, Boolean checkIn, Boolean skipReferenceValidation) at SourceCode.Runtime.Services.Forms.Services.BaseFormViewService`3.DeployAuthoringInstance(AuthoringType instance) at SourceCode.Runtime.Services.Forms.Services.BaseFormViewService`3.Deploy(IDeploymentContext context)"

3. Running a repair via the K2 Blackpearl Setup Manager will show the same errors on package failure due to controls that are not found.

Troubleshooting Steps

Please reach out to K2 Support for further troubleshooting assistance. We will need to modify the K2 Database and also remove files from the K2 App server. This should be done under the guidance of K2 Support to avoid further complications.

 

Warning: Do not modify any database definition or database content unless specifically instructed to do so by K2. No changes to the K2 Database definition or content are supported unless specifically instructed by K2. 
http://help.k2.com/onlinehelp/k2blackpearl/devref/current/default.htm#Database_Reference.html

 

 

 


0 replies

Be the first to reply!

Reply