AkAlan
asked on
Getting "Validation of viewstate MAC failed" only with IE on some machines
HI, I have a web application that is used by the company I work for. It is running on a Windows 2008 r2 server with IIS 7. I just started getting this error on one web page today, only on two users machines that I know of (mine included), it works on all otheres I have checked. I only get the error when using IE 9, I get no error if I hit the same page from Firefox.
The only clue I have is that server updates were performed this weekend, service packs installed, etc. I tried clearing out my cache. I'm stumped, any ideas?
The only clue I have is that server updates were performed this weekend, service packs installed, etc. I tried clearing out my cache. I'm stumped, any ideas?
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
'Response.Cache.SetExpires
'Response.Cache.SetCacheab
'Response.Cache.SetValidUn
I had forgot about it until today when I was still getting the exception.
I remarked it out and after clearing the users cache, no more exception.
I am using Telerik controls and I need to have viewstate enable for the gridview on the page, at least I'm pretty sure of that.
Not being a real asp.net expert, I am not certain why I got the exception on only a couple of machines so if any of this makes sense to you and you can give me any further guidance, I would appreciate it. I will give you the points either way. thanks for your assistance.