Skip to main content


 

Symptoms


I am getting below error while trying to below K2 workflow from Visual Studio.

Note: We recently upgraded our server to 4.6.10. This is Sharepoint 2010.

Error Message:

Error 2 Task Error: System.Exception: Error occurred associating the workflow with the list. ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Could not load file or assembly 'SourceCode.SharePoint.WebServices.K2SPObjects, Version=4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d' or one of its dependencies. The system cannot find the file specified.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Objectt] parameters)
at SourceCode.SharePoint.WebServices.K2SPWorkflowAssociations.AssociateK2WorkflowWithList(String WorkflowFullName, String AssociationName, Guid FeatureID, String ListID, String TaskListName, String HistoryListName, Boolean AllowStartManually, Boolean AllowStartOnChange, Boolean AllowStartOnMajorCheckIn, Boolean AllowStartOnCreate, Boolean RequireManagePermissions, String FormType)
at SourceCode.Workflow.SharePoint.Common.WorkflowAssociations.AssociateWorkflowWithList(Guid FeatureID, String ListName, String TaskName, String HistoryName, String AssocationName, String WorkflowFullName, String formType, WorkflowStartOptions StartOptions, CredentialCache CredCache)
at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.WorkflowIntegrationService.AssociateWorkflow(IntegrationObject integration)
--- End of inner exception stack trace ---
at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.WorkflowIntegrationService.AssociateWorkflow(IntegrationObject integration)
at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.WorkflowIntegrationService.Execute(IntegrationObject integration, Boolean testMode, Boolean createDependancies)
at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.WorkflowIntegrationTask.Execute()
 

Diagnoses


The K2 for Sharepoint Components were upgraded to 4.6.10 on both the Sharepoint WFE and Central Administration Server but the 'K2 for Sharepoint Configuration Wizard' had not been completed to upgrade, update and reactivate the K2 Features and Configuration Settings.
 

Resolution

After upgrading, updating and reactivating the K2 Features and Configuration the Integration Wizard and process deployment was successful.




 
Be the first to reply!

Reply