积极答复者
用户代码未处理TimeoutException

问题
答案
-
Hi,
你可以启用WCF Tracing查看服务端与客户端的异常详细信息,查看是什么原因引起TimeoutException.你可以参考下面这个英文连接.
#Silverlight Timeout Issues from WCF… exceeded the allotted timeout.
你也可以参考下面这个中文链接。
#WCF请求超时
http://www.51crazy.net/Article/132.aspx
Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework- 已标记为答案 Peter pi - MSFTModerator 2011年6月16日 1:07
全部回复
-
提示:对“http://localhost:31262/PrintMapApplication.Web/SLPrintService.svc”的 HTTP 请求已超过分配的超时。为此操作分配的时间可能是较长超时的一部分。
你这有 比较费时的 炒作吗?比如长时间连接,或者上传大文件?
Frank Xu Lei--谦卑若愚,好学若饥
专注于.NET平台下分布式应用系统开发和企业应用系统集成
Focus on Distributed Applications Development and EAI based on .NET
【老徐的网站】:http://www.frankxulei.com/
-
我调试时间比较长,但是我设了
closeTimeout="00:30:00" openTimeout="00:30:00" receiveTimeout="00:30:00" sendTimeout="00:30:00"
服务端代码有无错误?比如长时间的处理工作,或者死锁
Frank Xu Lei--谦卑若愚,好学若饥
专注于.NET平台下分布式应用系统开发和企业应用系统集成
Focus on Distributed Applications Development and EAI based on .NET
【老徐的网站】:http://www.frankxulei.com/
-
Hi,
你可以启用WCF Tracing查看服务端与客户端的异常详细信息,查看是什么原因引起TimeoutException.你可以参考下面这个英文连接.
#Silverlight Timeout Issues from WCF… exceeded the allotted timeout.
你也可以参考下面这个中文链接。
#WCF请求超时
http://www.51crazy.net/Article/132.aspx
Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework- 已标记为答案 Peter pi - MSFTModerator 2011年6月16日 1:07