Validation of viewstate MAC failed
Posted on 2011-03-02
this error is making me crazy:
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.
I have tried the work around like enableViewState="false" viewStateEncryptionMode="Never", even i did not use the DataKeyNames property of the ListView.
I am having Asp.Net 3.5 and working in C# and getting this error in LIVE environment.
Please suggest any proven/used method to sort out this issue.