Tag: Machine Key

ASP.NET Error Validation of viewstate MAC failed

Microsoft-IIS-Generate-MachineKey

In some environments the following error may occur for ASP.NET: 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. There are a few reasons of this error and you can solve …

Continue reading