Jan 19, 2006 09:33 AM|crystal.net|LINK
maybe you can help me with the following prob:
i developped a "job search application" in asp.net 2.0 beta. it compiled and ran without any problems. now, with the new asp.net 2.0 final version, i'm getting a lot this error message:
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate
cannot be used in a cluster.
this error is only generated if you navigate quickly through the web application. that means, if you press an <asp:Button> before the whole page is loaded/rendered, then you get this posted error. if you wait until the whole
page has finished rendering, then the postback generates no errors.
i've read a lot of articles and forum posts, and nothing figured out the problem:
- NO, i'm not running a Web Farm.
- page property "EnableViewStateMac" set to false does not solve the problem, it just changes the error message
in same navigation behaviour:
The state information is invalid for this page and might be corrupted.
the second error could be solved with hotfixes/updates in asp.net 1.0/1.1
is there also a solution available for asp.net 2.0 final version?
thanks for helping!