开发 WF4 应用程序时出现问题 - 请求的资源已移至以下位置之一
我正在开发 WF4 应用程序。工作流托管在 ASP.NET 网站中。对于开发,我使用 IIS Express。
在编辑周期之间进行调试时,我收到此错误:
System.ServiceModel.FaultException`1 was unhandled by user code
Message=The requested resource has moved to the one of the following locations:
https://localhost:44305/Workflows/PerformanceAppraisal/Exempt.xamlx
StackTrace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
at GoodwillHR.ExemptPAService.ExemptPAClient.ExemptPAClientChannel.EndGetSelfAppraisalForEmployeeUpdate(IAsyncResult result)
at GoodwillHR.ExemptPAService.ExemptPAClient.GoodwillHR.ExemptPAService.IExemptPA.EndGetSelfAppraisalForEmployeeUpdate(IAsyncResult result)
at GoodwillHR.ExemptPAService.ExemptPAClient.EndGetSelfAppraisalForEmployeeUpdate(IAsyncResult result)
at GoodwillHR.ExemptPAService.ExemptPAClient.OnEndGetSelfAppraisalForEmployeeUpdate(IAsyncResult result)
at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
InnerException:
问题是什么?
更多信息:具有多个接收的 XAMLX 工作流程。内容关联设置正确,因为如果我不停止调试器,一切都会正常工作。
在停止调试器、再次开始调试,然后在持久工作流上调用工作流接收活动之一后,我收到错误。
I am developing a WF4 application. The workflows are hosted in an ASP.NET website. For development, I am using IIS express.
When debugging between edit cycles I get this error:
System.ServiceModel.FaultException`1 was unhandled by user code
Message=The requested resource has moved to the one of the following locations:
https://localhost:44305/Workflows/PerformanceAppraisal/Exempt.xamlx
StackTrace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
at GoodwillHR.ExemptPAService.ExemptPAClient.ExemptPAClientChannel.EndGetSelfAppraisalForEmployeeUpdate(IAsyncResult result)
at GoodwillHR.ExemptPAService.ExemptPAClient.GoodwillHR.ExemptPAService.IExemptPA.EndGetSelfAppraisalForEmployeeUpdate(IAsyncResult result)
at GoodwillHR.ExemptPAService.ExemptPAClient.EndGetSelfAppraisalForEmployeeUpdate(IAsyncResult result)
at GoodwillHR.ExemptPAService.ExemptPAClient.OnEndGetSelfAppraisalForEmployeeUpdate(IAsyncResult result)
at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
InnerException:
What is the problem?
Some more info: XAMLX workflow with multiple receives. Content correlation is set up correctly as everything works fine if I don't stop the debugger.
I am getting the error after I stop the debugger, start debugging again and then call one of the workflow receive activities on a persisted workflow.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不知道为什么,但进行服务参考更新后这个问题就消失了。我认为我的工作流程服务没有任何变化。
Not sure why, but doing a service reference update made this problem go away. I didn't think I had any changes in my workflow service.