问题WF4开发应用 - 请求的资源已经被移动到以下位置之一 [英] Problem developing WF4 application - The requested resource has moved to the one of the following locations

查看:136
本文介绍了问题WF4开发应用 - 请求的资源已经被移动到以下位置之一的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个WF4应用。该工作流托管在一个ASP.NET网站。对于开发,我使用IIS EX preSS。

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?

一些更多的信息:XAMLX工作流程与多个接收。内容相关的设置是否正确作为一切工作正常,如果我不停止调试程序。

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.

推荐答案

不知道为什么,但这样做使这个问题消失的服务引用的更新。我没想到我在我的工作流服务的任何更改。

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.

这篇关于问题WF4开发应用 - 请求的资源已经被移动到以下位置之一的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆