申し訳ありませんが、タイトルが少し曖昧ですが真実は私の問題を理解していない、私はこれを前に出会ったことはないと私は普通から何かをhavent。私のWCFサービスSL4アプリケーションの通信例外
私はビジネスアプリケーションテンプレートを使用した基本的なSilverlight 4アプリケーションを用意しています。また、WCFサービスアプリケーションプロジェクトを作成しました。これは、データベース内の一部のエントリに対してObservableコレクションを返すために使用されています。
私はSL4アプリケーションで参照したローカルコンピュータに公開しました。この例外は
私はclientaccess政策やテストの目的のために何でもアクセスを許可するように設定されているクロスドメインポリシーを持っている[System.ServiceModel.CommunicationException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5. <EndGetResponse>b__4(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)
--- End of inner exception stack trace ---
at 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)
--- End of inner exception stack trace ---
at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
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 RMServiceRIA.rService.Service1Client.Service1ClientChannel.EndgetBuildings(IAsyncResult result)
at RMServiceRIA.rService.Service1Client.RMServiceRIA.rService.IService1.EndgetBuildings(IAsync Result result)
at RMServiceRIA.rService.Service1Client.OnEndgetBuildings(IAsyncResult result)
at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)}
、
私はWCFサービスをデバッグして呼び出しを受け取り、実行されたメソッドはreturn文に達しますが、私のWCFサービスにはすぐに結果が返ってくることはありません結果私はSL4のアプリケーションの中で例外がスローされてしまいました。接続が閉じられたように見えますが、わかりません。私は研究しようとしましたが、どこから始めるのですか?同じ種類のエラーメッセージを持つ多くの人が見つかりましたが、WCFは非常に暗いです...私はwebconfigの内部でデバッグ情報を有効にしようとしました。私も自分のWebサーバが、運にWCFサービスをホストするために試してみました、私はこのありえないが働いて、なぜ私はわからないよ、いくつかのWCFサービスは、同様のセットアップとその上で動作している必要があり
詳細をお知りいただきありがとうございます。ご質問いただければ幸いです。
トレースが問題を解決したことが判明しました。何か新しいことが自分自身で学習されたので、今後この問題はもうありません。 –