23 April 2010

Validation of viewstate MAC failed

Written by Amit Panchal, Posted in Blog

Hello Friends
i was getting the error in my asp.net application like this
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.
i googled it and got 791 results.
i tried every possible solutions but could not solve my problem
then finally i got one solution, tried that and bingo it worked
here is the solution:
this link generates machine key automatically
and also generates codes for web.config file
just copy paste that code in web.config file
and run ur application again.
if you have any doubts feel free to comment us

Social Bookmarks

About the Author

Amit Panchal


Amitech Business Solutions

All Events


Comments (0)

Leave a comment

You are commenting as guest. Optional login below.

Cancel Submitting comment...