WF4アプリケーションの開発の開発 - 要求されたリソースが次の場所のいずれかに移動しました
-
26-10-2019 - |
質問
WF4アプリケーションを開発しています。ワークフローは、ASP.NET Webサイトでホストされています。開発のために、私は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ワークフロー。デバッガーを止めなければ、すべてが正常に機能するため、コンテンツの相関が正しく設定されます。
デバッガーを停止した後にエラーが発生し、もう一度デバッグを開始してから、ワークフローの1つを呼び出して、永続的なワークフローでアクティビティを受信します。
解決
理由はわかりませんが、サービスリファレンスアップデートを行うと、この問題がなくなりました。ワークフローサービスに変更があったとは思いませんでした。
所属していません StackOverflow