Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
how we can remove it. when we are login in my software and after 2-4 minutes if we are clicking in any button of my page this occur this type of error
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.


Khargesh RajputRank #616 · 3.9K reputationPosted Dec 25, 2014, 10:18 PM EST
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Dec 25, 2014, 10:32 PM EST
add this in web.config file
Steven Reid136 reputationPosted Jan 12, 2015, 9:36 PM EST
You may refer to this post at http://dotnet4hosting.asphostportal.com/post/ASPNET-Hosting-Resolve-Errror-Validation-of-viewstate-MAC-failed.aspx.
Hope this help