I am often getting a Client Disconnected message. I don't use load balancing - only a single IIS server. I need to know what is causing this and how to fix it.
Here is the exception info:
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)
The "client disconnected" error may occur when it took too much time to process a current request to the server. If an application is hosted in a cloud (clustered) environment, make sure that you specified the machineKey element in the web. config file of your application.
Roblox gives its message that it lost connection when it doesn't get a response from the game servers after a certain length of time. It's the equivalent of the “your Internet connection is unstable” message on a Zoom call.
WE get this exception as well, and we get it in a completely repeatable way. This exception is thrown when the ViewState
has become "large" and the user clicks a button before a previous request has completed...
In our case this happens very easily because the post back is using ajax, so the browser doesn't stop responding while the ViewState
is being sent to the server. Clicking on this control causes the exception over and over again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With