Author: brvaland | Posted on: 8/27/2010 7:55:05 AM | Views : 256

Hi Experts,
I have received an error "Validation of viewstate MAC failed".
I am hosting the web site on my own server, so there is nothing like a "Web Farm or cluster". Can you please advise what could be the problem with this error.
I only get this error if the page is left inactive for more then 20 minutes and it throws the exception, so users have log-off and login to continue working fine.
See below full error details.
Server Error in '/datacapv2' Application. 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. Description: An unhandled exception occurred during the execution ...

Go to the complete details ...