By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,092 Members | 1,650 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,092 IT Pros & Developers. It's quick & easy.

System.Web.HttpException: Unable to validate data

P: n/a
Amy
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.
Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.