Tuesday, April 24, 2012 10:22 AM
I faced this issue in VS 2011 Beta:
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.
It's in my laptop (there's no Web Farm configuration). I've set this in my web.config (I'll need it in LIVE Web Farms):
<machineKey validationKey="..." decryptionKey="..." validation="HMACSHA512" decryption="AES"/>
For security reason I don't want to turn the enableViewStateMAC property off.
Is it because of VS 2011 Beta or I missed something?!
- Moved by lucy-liu Tuesday, May 01, 2012 5:22 AM it is a asp.net issue (From:Visual Studio Editor)