I recently migrated my K2 2003 process to K2 Blackpearl and I've switched from using K2ROM to SourceCode.Workflow.Client
I'm getting this error intermittently when trying to update the workflow and reading xml fields using the following API calls:
1) this.ProcessInstance.XmlFields[fieldName].Value
2) this.ProcessInstance.Update()
Send failed with error: An operation was attempted on something that is not a socket.