Validation of ViewSate MAC Failed
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"
0 comments:
Post a Comment
Thanks for the Comments.