Validation of viewstate MAC failed
I get this error in a web farm:
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.
I googled and found a bunch of references to .NET apps, but I wasn't sure how to fix it in SSRS.
Thanks!
BobP
June 6th, 2007 6:38pm
Is no one else having this issue?
Thanks
Free Windows Admin Tool Kit Click here and download it now
June 7th, 2007 8:55pm
I had the same problem with Sharepoint and I added - enableViewStateMac="false" - to the pages key in the machine web.config.
<pages enableSessionState="false" enableViewState="true" enableViewStateMac="false" validateRequest="false" enableEventValidation="false">
April 18th, 2008 7:20am
Hi Bernie,
Does your solution work for SSRS that is not Sharepoint enabled?
Thank you,
Roman
Free Windows Admin Tool Kit Click here and download it now
July 16th, 2008 5:03pm
I also have the same problem. I'm running vanilla ssrs 2005 Web Farm.No Sharepoint Mode. Did anybody resolve this?
March 25th, 2009 6:50pm
We had this error when we called Reporting Services report from a link in side of the word documnet.
It seems MS Word is doing something in background.
Problem is fixed when we called our link from IE.
Thanks
AM
Free Windows Admin Tool Kit Click here and download it now
March 25th, 2010 11:44pm
Add enableViewStateMac="false" to the <pages> element in C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportManager\Web.config and C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\web.config.
March 26th, 2010 10:42pm
@ Bernie Cheing: Thanx! it works :)
Free Windows Admin Tool Kit Click here and download it now
November 2nd, 2010 1:57am