What is Invalid_Viewstate_Client_Disconnected?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I just deployed a new web and my global error handler is sending me back of
ton of nessages that say "Invalid_Viewstate_Client_Disconnected" complete
with a complete copy of the viewstate - very helpful I am sure. I can't seem
to duplicate the problem. What's up?

S
 
We are getting this too, and can't reproduce ...

Invalid_Viewstate_Client_Disconnected Client IP: 10.6.174.41 Port:
1639 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
..NET CLR 1.0.3705; .NET CLR 1.1.4322) ViewState:

please help
 
We are getting this too, and can't reproduce ...

Invalid_Viewstate_Client_Disconnected Client IP: 10.6.174.41Port:
1639 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT5.1;
..NET CLR 1.0.3705; .NET CLR 1.1.4322) ViewState:

please help

We called MS about this error and after some work with theirengineers found that the problem is that a client PC is clickingstop, closing the browser, etc while sending back the view stateto the server. This tends to be very evident when the viewstate gets real large. Their advise was to go with shorter viewstates or ignore the error.

User submitted from AEWNET (http://www.aewnet.com/)
 
Answer: What is Invalid_Viewstate_Client_Disconnected?

This happens when view state content when a page is posted back to sever is corrupted. ASP.NET matches hash with calculated hash value of ViewState. If failed to match, it simply throws error. It does so to restrict pages illegally modify ViewState on client side.

Some times page controls are putting lot of content in ViewState and that creates problem. Disable ViewState for all controls and manage their control values through Session if really required. That is the ONLY solution.

I hope that will answer you. Thanks!
dgoyani
http://dgoyani.blogspot.com/
 
Back
Top