I am receiving the error message below:
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.
After lots of search, I found this document https://support.microsoft.com/en-us/kb/2915218
In Above document i found below section
Appendix A: How to generate a machineKey element
In this section, there is a function which generate <machineKey>
but i don't know where to put this code in my application and how to call this function.
<machinekey>
should be kept inweb.config
file – Guruprasad J Rao