【发布时间】:2010-11-01 23:32:25
【问题描述】:
我经常收到客户端断开连接的消息。我不使用负载平衡 - 只有一个 IIS 服务器。我需要知道是什么原因造成的以及如何解决它。
这里是异常信息:
Type: System.Web.HttpException
Message: The client disconnected.
Exception Data:
Source: System.Web
TargetSite: Void ThrowError(System.Exception, System.String, System.String, Boolean)
StackTrace:
at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)
at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState)
at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState)
at System.Web.UI.HiddenFieldPageStatePersister.Load()
at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
at System.Web.UI.Page.LoadAllState()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
【问题讨论】:
-
FWIW,好像已经有类似的问题了:stackoverflow.com/questions/809413/…
-
@ChrisW.Rea 是的,但是这个指定了一个 IIS 服务器,另一个特别提到了负载平衡。我正在寻找的答案是关于这个问题而不是另一个。