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:
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 blackpearl\Setup 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.
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.