Hi,
I'm suddenly getting this error when I post back from my application.
the application worked once, i added some code on one page
(customizing a datagrid), and suddenly I'm getting this exception even
on a completely separate page (that worked before and that I haven't
changed). Page 1 has a Response.Redirect that goes to Page 2 (which
has the changes), but I get the error even if I trigger a postback
event on Page 1 and Page 2 isn't involved at all. I'm stumped. I did
some reading through Google and at msdn, and it seems like lots of
people have this problem, but I haven't found the solution. I tried
changing both the enableViewState and enableViewStateMac settings back
and forth, but nothing has an effect. any help would be appreciated.
here's the error:
[for some reason, I can't copy and paste from the browser window in
Visual Studio, so this is a transcription]
Server Error in '/AmyProjectCentral' Application.
Unable to validate data.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack track for more
information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Unable to validate data.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
(highlights of the Stack Trace - unable to validate
data...Authentication of viewstate failed...Invalid_Viewstate).
Thanks in advance.