2011-03-06 109 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

回答