Invalid viewstate

-- -- 882 Reputation points


I am getting below on my webform;

Exception Type: System.Web.HttpException
Exception: 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.

At present it seems the problem only seems to effect iPhone. This webform is being redirected to from our main non site from Wix. The suspicion is that safari on iPhone is getting confused regarding view state during redirect.

Has anyone come across this and has a solution?



A set of technologies in the .NET Framework for building web applications and XML web services.
3,361 questions
{count} votes