我正在尝试从asp .net应用程序调用工作流服务,我收到以下错误。任何想法或帮助请求?
System.ServiceModel.FaultException:无法执行操作,因为WorkflowInstance'2dde84a5-da6e-4951-a404-d659fb23b5bd'已终止。服务器堆栈跟踪:System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime操作,ProxyRpc& rpc)在System.ServiceModel.Channels.ServiceChannel.Call(String action,Boolean oneway,ProxyOperationRuntime operation,Object [] ins,Object []在Service.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall,ProxyOperationRuntime操作)的System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage消息)异常重新抛出[0]:在System.Runtime.Remoting处的out,TimeSpan超时)。位于ServiceReference1.ServiceClient的ServiceReference1.IService.TestSimple(String& out2,String input)的System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData,Int32类型)中的Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,IMessage retMsg) c:\ Users \ marios \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ website2 \ dd8a5636 \ 5104a2dc \ App_WebReferences.yntecwjx.0.cs中的.TestSimple(String& out2,String input):line 51 at _Default.Page_Load(Object sender,EventArgs e)位于c:\ Users \ marios \ Documents \ Visual Studio 2010 \ WebSites \ WebSite2 \ Default.aspx.cs:第34行
答案 0 :(得分:2)
听起来工作流在发送回复之前已中止。查看我的博客文章以获取帮助。 Troubleshooting Workflow Services with diagnostic logging