CommunicationException was unhandled by user code
The socket connection was aborted. This could be caused by an error processing your message
or a receive timeout being exceeded by the remote host, or an underlying network resource
issue. Local socket timeout was '02:48:04.9840000'.
我一直在測試這個應用程序幾個月,剛剛看到這個錯誤後,對其中一個服務做了一些小改動。這只是幾秒鐘,所以我不認爲這是一個超時問題。WCF:套接字連接被中止
的InnerException信息:System.IO.IOException:讀操作失敗,請參見內部異常
(內)的InnerException:System.Net.Sockets.SocketException - 一個現有的連接被強行關閉遠程主機。
任何建議,非常感謝!
在此先感謝
我建議你調查爲什麼遠程主機關閉連接。 – 2010-10-21 18:39:09
那麼,當我通過它調試時,一切似乎都很好,但從管理器返回到代理(客戶端)時,會引發異常。我想說更多的數據是通過允許的,但沒有比通常更多 – 2010-10-21 18:42:25
你試過WCF跟蹤? – 2010-10-21 20:00:01