加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

什么可能导致“客户端断开连接”的ASP.NET异常?

发布时间:2020-12-15 18:54:05 所属栏目:asp.Net 来源:网络整理
导读:我的.NET 3.5应用程序偶尔会抛出以下异常System.Web异常: The client disconnected 任何想法为什么这种例外发生?我的应用程序运行在负载平衡的Windows Server 2003 IIS 6.0服务器上。 解决方法 vbdork.net域似乎现在已经失效。在搜索这个错误,我发现几个
我的.NET 3.5应用程序偶尔会抛出以下异常System.Web异常:

The client disconnected

任何想法为什么这种例外发生?我的应用程序运行在负载平衡的Windows Server 2003 IIS 6.0服务器上。

解决方法

vbdork.net域似乎现在已经失效。在搜索这个错误,我发现几个引用这篇文章。所以我找到一个google缓存版本的它,我现在发布它在这里参考。原始网址为: http://vbdork.net/post/2009/02/10/The-client-disconnected.aspx

You get the message The client Disconnected.

You’re likely to sporadically get this error message if you’re in a web farm and you have a page where the user can make multiple selections,it typically happens in this scenario:

The user selects a drop down list box that has an event on postback,but the user does this again before the request is sent back to the user,the user is now creating a second event that is being fired on the other webserver,the previous webserver tries to return the results of the old event to the user but the user is no longer there because the user is now on the other webserver.

The user will never see an error,but if you’re catching the errors and emailing/logging them you’ll see them like shown below and be totally frustrated. Don’t worry about it,just ignore it it’s not even an problem,as long as you’re trapping this kind of error nothing will go wrong.

06000

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读