To resolve "Validation of viewstate MAC failed".

Here , website url for generating machine key:  http://aspnetresources.com/tools/machineKey 

here example given below after generating machine key through above web url 

This is the code which needs to be put in web.config file, hope it will help you out.
<system.web>
<machineKey validationKey="7B1A0112BEDDADE43C71702052E666F5D5DDD8CB053F085E5362DFB1B20E29266B8D47AE0F6C3A9E370C0192ED1C488961F7D944A21ABF9AC2186E8458A2FB17" decryptionKey="EBCE0AD022C8A711670C4C96BB87C4B91A3B0DF509B579222E1410003BE4532B" validation="SHA1" decryption="AES" /> 
< /system.web>

Comments

Popular posts from this blog