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.

Solution

Type following code in web.config file

<pages validateRequest=”false” enableEventValidation=”false” viewStateEncryptionMode=”Never” enableViewStateMac=”false”>

About the Author

avatar