No ratings

Go To Activity error: Method not found

Issue

Unable to perform a Go To Activity from K2 Management due to an error:

Method not found: 'SourceCode.Workflow.Runtime.ArchiveXDataType SourceCode.Workflow.Runtime.ArchiveX.get_NextFieldType()'.

Error Code

"Error","System","2025","InternalMarshalError","SourceCode.Hosting.Server.Runtime.HostServerBroker.InternalMarshal","2025 Error Marshalling SourceCode.Workflow.Runtime.Management.WorkflowManagementHostServer.GotoActivity, Method not found: 'SourceCode.Workflow.Runtime.ArchiveXDataType SourceCode.Workflow.Runtime.ArchiveX.get_NextFieldType()'.
at SourceCode.Workflow.Client.InternalConnection.Call(ArchiveX ar, MessageType msgtype)
at SourceCode.Workflow.Runtime.Management.WorkflowManagementHostServer.SendArchiveXInternal(ArchiveX sendArchive, MessageType type)
at SourceCode.Workflow.Runtime.Management.WorkflowManagementHostServer.GotoActivity(Int32 procInstID, String fromActName, String toActName)
at SourceCode.Workflow.Runtime.Management.WorkflowManagementHostServer.GotoActivity(Int32 procInstID, String activityName)"

 

Resolution

A copy of SourceCode.Workflow.Client.dll found in the K2 installation folder (eg. C:\Program Files\K2\Bin) was installed to GAC (C:\Windows\assembly\GAC_64\SourceCode.Workflow.Client\4.0.0.0__16a2c5aaaa1b130d\) using gacutil.

 

Labels: (1)
Version history
Last update:
Thursday
Updated by:
Contributors