Showing posts with label Viewstate MAC failed. Show all posts
Showing posts with label Viewstate MAC failed. Show all posts

Validation of ViewSate MAC Failed

Posted by Venkat | Labels:

If you are getting this 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

Write the below code..

Update your web.config with following attributes.

pages validateRequest="false" enableEventValidation="false" viewStateEncryptionMode ="Never" enableViewStateMac="false"

PayOffers.in