1

いくつかの操作コントラクト メソッドのために Azure で WCF サービスをホストしたときに、この例外が発生します。サーバーから既知のオブジェクトのリストを返しています。リストの代わりに文字列またはブール値を返す場合、それは正常に機能しています。

{System.ServiceModel.CommunicationException: リモート サーバーがエラーを返しました: NotFound. ---> System.Net.WebException: リモート サーバーがエラーを返しました: NotFound。---> System.Net.WebException: リモート サーバーがエラーを返しました: NotFound。System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult) で System.Net.Browser.BrowserHttpWebRequest.<>c_ DisplayClassa.b _9(Object sendState) で System.Net.Browser.AsyncHelper.<>c_ DisplayClass4.b_0(Object sendState) --- 内部例外スタック トレースの終了 --- System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state) at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System .ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result) --- 内部例外スタック トレースの終了 --- System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels. System.ServiceModel.ClientBase の ServiceChannel.EndCall (文字列アクション、オブジェクト [] 出力、IAsyncResult 結果)1.ChannelBase1.EndInvoke(String methodName, Object[] args, IAsyncResult result) で ReportServiceClient.ReportServiceClientChannel.EndGetData(IAsyncResult 結果) で ReportServiceClient.IReportService.EndGetData(IAsyncResult 結果) で ReportServiceClient.OnEndGetData(IAsyncResult 結果) で System.ServiceModel.ClientBase` 1.OnAsyncCallCompleted(IAsyncResult結果)}

ノート:

同じサービスが Web サーバーでホストされている場合、それは正常に機能しています。

Azure で WCF エラー情報を見つけるにはどうすればよいですか?

Web サーバーでサービスをホストした場合は、サービスのトレースを有効にして、svclog ファイルからサービス障害の正確な原因を見つけます。しかし、Azure では同じことができません。Azure でエラー情報を見つけることはできますか?

4

0 に答える 0