An operation was attempted on something that is not a socket

  • 2 January 2014
  • 3 replies
  • 10 views

Badge +3

Hi, 


I got this exception when update execute an action on a process. 


Exception: ClientException


Message: Send failed with error: An operation was attempted on something that is not a socket.


Source: SourceCode.Workflow.Client


 


It happens right after I updated a smartobject.


Previously I call action.Execute(true) and it seems to work but not this time. Please help if you know anything about it. Thanks.


3 replies

Badge +3

I don't understand is that it does happen occasionally. And it sometimes work with execution synchronously, sometimes not. 


 

Badge +3

Ok. Still myself to answer and resolve this. 


As long as keeping action behaviors in a transaction, it will be working. I accidentally execute a worklist been loaded long while ago. 


Other thing I want to complain is that, K2 Designer is not a mature product at all. Even renaming could break either smart object or entire workflow. Only one mistake in wizard will break xml file but still the workflow xml can be compiled and deployed. There is no evidence to know after even right design is apply. Hard to use!


.... Still glad everything work after redraw from scratch. 

Userlevel 3
Badge +9

Check if you are not closing or connection is open while you execute the code statement.

 

Reply