Page 1 of 1

viewstate MAC and state information invalid

Posted: Mon Jun 15, 2009 8:07 am
by AlanW
The error log is filling up with thousands of errors. Alternating between these two.

Code: Select all

The state information is invalid for this page and might be corrupted.; Invalid viewstate....
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster,.....
All of them occur against the same page.

Code: Select all

An error has occured at http://www.practicerange.com/Product.aspx?ProductId=2
I thought it was McAfee scanning the site. And it probably is. But I thought error reporting for McAfee was fixed in 7.0.3 (which we updated to last week). We're still getting overloaded with errors.

We followed the WIKI instrucions to solve Validation of View State MAC failed problem by adding a maching key to the web.config. That didn't solve the problem.

We have not Disabled ViewstateMac by putting this enableViewStateMac="false" in your web.config. Is that next best course of action ????


Best regards,

Alan

Re: viewstate MAC and state information invalid

Posted: Fri Jun 19, 2009 9:08 am
by AlanW
It turns out something was left out of the upgrade instructions. Patched the install and replaced global.asax file.

The bug report is at http://bugs.ablecommerce.com/show_bug.cgi?id=7880


--Alan