When you access your site and you notice the below error message in your web browser:
"Validation of ViewState MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey>
the configuration specifies the same validation key and validation algorithm. AutoGenerate cannot be used in a cluster."
You need to add the below code in your web.config file:
<pages enableViewStateMac="false" />