Hi guys,
My web application sometime will come up this error.
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.
After search over the internet, i have add the following line in web.config.
<machineKey validation="SHA1" validationKey="9323C966FD66F35BA7CE60783D3EAC485C6031814BA891C0DC0E051BB3A78295DAEED843D47EC2C50F6AD1B62F5F1A5E3461806090153E275842DAE0CD6C7AD8" decryption="Auto" decryptionKey="8106F0A08CD449359F3FEFE0C622FE76C7B481C6F87E884B"/>
FYI, ValidationKey & decrytionKey was generated in IIS (my owned pc) and this web application was hosted in shared server.
I wonder is it correct way to generate ValidationKey & descrytionKey and can i use ...
Go to the complete details ...