Hello everyone,
I am currently receiving the below 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.
I have found multiple solutions to this error. The solution we are currently using is to add a static MachineKey field at the machine level and to use static validation keys and decryption keys. Example:
Anyways on to the question:
Will this solution work for .net 3.5? If there is a more elegant solution to this problem please feel free to elaborate.
Thanks ahead of time for your time.