So, where would I add the following line? (.net 2.0)
<machineKey validationKey='A130E240DF1C49E2764EF8A86CEDCBB11274E5298A130CA08B90EED016C0
14CEAE1D86344C29E67E99DF83347E43820050A2B9C9FC89E0574BF3394B6D0401A9'
decryptionKey='2CC37FFA8D14925B9CBCC0E3B1506F35066FEF33FEB4ADC8' validation='SHA1'/>
I have reviewed the following MSDN articles:
http://msdn.microsoft.com/en-us/library/w8h3skw9(VS.71).aspx
http://msdn.microsoft.com/en-us/library/ms998288.aspx
However, my machine.config file for ASP.net 2.0 does not seem to correspond with the article. Searching for "validationkey" in the machine.config, machine.config.comments, and machine.config.default returns nothing.
I have entered the above validation key (different one of course) right below the <system.web> entry in the machine.config and reset IIS.
The users are still experiencing the same problem as before which is:
Message: 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.