Server Error: Validation of viewstate MAC failed.

If you get the following error...
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

You have to specify the "<machinekey>" in your web.config. Actually the error itself already explains it.
<system.web>
<machineKey validationKey="yourAlphaNumericValidationKey" decryptionKey="yourAlphaNumericDecryptionKey" validation="SHA1"/>
...
<system.web>
Kindle

Comments

0

Your ad here?