I am running my own web server (Windows 2008 R2 64-bit) with various ASP.NET 4.0 web applications and web sites running on it. Occasionally, I check out the Windows Event Log to see if an application or websites has generated a server error.
Every once in a while (about once in 2 weeks), I randomly see the following types of errors in he Event Log:
Other than the fact that I have absolutely no idea where this error is coming from, it also appears to be really random. I've seen this error appear on pages with simple contact forms (name, e-mail address and message) to complicated forms with dozens of
dynamic fields ("Get a quote!"-forms and the like). What exactly does it mean? Does it mean that someone is trying to do something malicious (Cross-Site Scripting / XSS?) and this creating an 'invalid viewstate'? How can a Viewstate become 'invalid anyway?
I blog at http://rajeshpillai.net and have a community startup http://ownabook.org/
(Don't forget to click "Mark as Answer" on the post(s) that helped you.)
I've seen this happen when sometimes users post back the page before the page has had a chance to load fully into the browser, and thus not all the form fields get posted back to the server. given the missing input elements, this could cause the viewstate
validation to fail.
LeroyGerrits
Member
501 Points
101 Posts
Viewstate verification failed. Reason: The viewstate supplied failed integrity check.
Mar 17, 2012 12:28 PM|LINK
I am running my own web server (Windows 2008 R2 64-bit) with various ASP.NET 4.0 web applications and web sites running on it. Occasionally, I check out the Windows Event Log to see if an application or websites has generated a server error.
Every once in a while (about once in 2 weeks), I randomly see the following types of errors in he Event Log:
Other than the fact that I have absolutely no idea where this error is coming from, it also appears to be really random. I've seen this error appear on pages with simple contact forms (name, e-mail address and message) to complicated forms with dozens of dynamic fields ("Get a quote!"-forms and the like). What exactly does it mean? Does it mean that someone is trying to do something malicious (Cross-Site Scripting / XSS?) and this creating an 'invalid viewstate'? How can a Viewstate become 'invalid anyway?
thinkrajesh
Participant
1356 Points
232 Posts
Re: Viewstate verification failed. Reason: The viewstate supplied failed integrity check.
Mar 17, 2012 12:31 PM|LINK
This may be config issue related to machinekey....
More details here...
http://support.microsoft.com/default.aspx?scid=kb;en-us;829743
(Don't forget to click "Mark as Answer" on the post(s) that helped you.)
BrockAllen
All-Star
27544 Points
4907 Posts
MVP
Re: Viewstate verification failed. Reason: The viewstate supplied failed integrity check.
Mar 17, 2012 04:06 PM|LINK
I've seen this happen when sometimes users post back the page before the page has had a chance to load fully into the browser, and thus not all the form fields get posted back to the server. given the missing input elements, this could cause the viewstate validation to fail.
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/