| | | Junior Member
       
Group: Skelta Workflow/BPM Net Last Login: Friday, November 17, 2006 Posts: 5, Visits: 50 |
| Hi, I had configured simple workflow with only one Information action for testing purposes. After that I started new workflow to times consecutively. First workflow started and finished successfully, but the second one threw an exception. This message is from log file:
? - Could not connect to the workflow engine at localhost:8755. Will retry connecting., Module - C:\WINDOWS\assembly\GAC\Workflow.NET\1.9.1500.0__8ca1a2042fc39216\Workflow.NET.dll, skrblik, 17:04:54.894 ! - Safe handle has been closed - Could not connect to the workflow engine at localhost:8755. Make sure that the engine is running, Module - C:\WINDOWS\assembly\GAC\Workflow.NET\1.9.1500.0__8ca1a2042fc39216\Workflow.NET.dll, Source - at System.Net.UnsafeNclNativeMethods.OSSOCK.setsockopt(SafeCloseSocket socketHandle, SocketOptionLevel optionLevel, SocketOptionName optionName, Int32& optionValue, Int32 optionLength) at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue, Boolean silent) at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue) at Workflow.NET.Communication.e49957e957525b83.SendAndReceiveData(TransferDataType DataType, Object Data, Int32 ReceiveTimeout) at Workflow.NET.Communication.ClientProxy.SendMessageForResponse(TransferDataType DataType, Object Message, Int32 ReceiveTimeout) at Workflow.NET.Engine.Client.07c2f2ecf764ccea(Byte[] 5cafa8d49ea71ea1, String 64f259306803411c, Int32 200aedbf6c3c4174, Int32 c9913b26afe188b9, Boolean c5873882b5558989, Boolean ebb5408a30118be8, Boolean 431bc8a64c82c2d8), skrblik, 17:04:54.894 ! - Safe handle has been closed - Could not connect to the workflow engine., Module - C:\WINDOWS\assembly\GAC\Workflow.NET\1.9.1500.0__8ca1a2042fc39216\Workflow.NET.dll, Source - at Workflow.NET.Engine.Client.07c2f2ecf764ccea(Byte[] 5cafa8d49ea71ea1, String 64f259306803411c, Int32 200aedbf6c3c4174, Int32 c9913b26afe188b9, Boolean c5873882b5558989, Boolean ebb5408a30118be8, Boolean 431bc8a64c82c2d8) at Workflow.NET.Engine.Client.07c2f2ecf764ccea(Byte[] 5cafa8d49ea71ea1, String 64f259306803411c, Int32 200aedbf6c3c4174, Int32 c9913b26afe188b9, Boolean c5873882b5558989, Boolean ebb5408a30118be8, Boolean 431bc8a64c82c2d8) at Workflow.NET.Engine.Client.18dfca7c5fd2402f(ActionsData 684d58330179dc92, Int32 5ad8e2bd6a424dcc, Object 6ffd97bdc8995121, Int32 dcda4821136b88a4, String 6b73aa01aa019d3a, VariablesCollection 8513e2047b99ae50, Boolean 7c318e6ba2aac010, SynchronousActionData 8feec98764d17fbb, Boolean 7b5b137df4a02243, String& 9f83151501e5c49d), skrblik, 17:04:54.894
Have somebody any idea what could cause the problem? I have running ASP.NET and Skelta Workflow .NET R2, both on .NET 2.0 |
| | | | Supreme Being
       
Group: Forum Members Last Login: Friday, February 22, 2008 Posts: 25, Visits: 61 |
| | Client.Close() method should be called after execution. Following source should help you understand. if(workFlowVersion > 0) { iExecutionID=clt.Execute(workFlowVersion,UserName, WorkflowData); } else { iExecutionID=clt.Execute(UserName, WorkflowData); } clt.Close();
Moderator |
| |
|
|