Invalid viewstate

-- -- 957 Reputation points
2021-09-02T08:59:51.907+00:00

Hi

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 asp.net 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?

Thanks

Regards

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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.