Tuesday, May 1, 2012

ASP.net - Validation of viewstate MAC failed

This error is caused when your server is shared


<system.web> 
<machineKey validationKey="{generatedkey}" validation="SHA1" decryption="AES" />
</system.web>

you this url to generate a machineKey

http://www.dcense.com/ASPNETMachineKey.aspx