chetan
on Jun 25, 2018 12:47 AM
2877 Views
i an getting the following error:
"
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster."
I am getting login.after few minutes,when i click on logout,it throws the above error..How to pvercome with this?
Download FREE API for Word, Excel and PDF in ASP.Net:
Download
Hi chetan,
Please take reference the below link.
chetan
on Jun 25, 2018 03:39 AM
6
chetan
on Jun 25, 2018 06:22 AM
7
This helped me to overcome with that issue:
1.Open IIS------>MachineKey----->Generate keys
2.Include the generated validation key and decryption key into the web.config.