2011-03-06 110 views
0

我只是建立一個WCF服務,我收到以下錯誤?:WCF /錯誤:套接字連接中斷

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 '00:00:59.2790

+0

什麼是你的WCF服務的代碼? – 2011-03-06 07:45:25

+0

60秒是默認的超時時間,所以看起來你的WCF服務在這段時間內沒有返回。數據庫查詢緩慢,無限循環,調試跟蹤點......可能是什麼? – StuartLC 2011-03-06 07:47:53

+0

打開客戶端和服務器上的WCF跟蹤,並檢查內部錯誤:http://msdn.microsoft.com/en-us/library/ms733025.aspx – 2011-03-06 09:31:53

回答