Was there a solution to the DataGrid causing the "viewstate is invalid for
this page" error that Drew reported on October 8th, 2003. We have five
installations of an application and everything works fine at four of the
sites. The 5th site constantly gets the error message. They are not using
a web farm. The application is strictly a read-only application for viewing
data. The problem did occur after the client started applying various
microsoft and 3rd party updates to their system.
-Rich Fulham-
----------------------------------------------------------------------------
----
From: drew
Subject: DataGrid viewstate becomes corrupt
Newsgroups: microsoft.public.dotnet.distributed_apps
Date: 2003-10-08 11:24:06 PST
<<I have a datagrid returning a very large amount of rows as
a list of parts. It's set up to use paging, it works
correctly for the first couple of clicks, but then I get
the following error:
"The viewstate is invalid for this page and might be
corrupted."
Is this because the viewstate has gotten too big? Anybody
seen this or know of a way to work around it (and keep
paging).
Thanks
----------------------------------------------------------------------------
----
MSFT - 18 Nov 2003 05:42 GMT
You may take a look at following article to see if it address the problem:
FIX: "The View State Is Invalid for This Page and Might Be Corrupted" When
the View State Contains Objects That Have Long Decimals
http://support.microsoft.com/?id=812399
Also, I suggest also implement the fix in follow articles:
http://support.microsoft.com/?id=328544
http://support.microsoft.com/?id=328546
Luke
Microsoft Online Support

Signature
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)