Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure t

  • Thread starter Thread starter Mark B
  • Start date Start date
M

Mark B

"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've been getting the above error periodically when I've left my computer
for 30+ minutes and return and navigate to another page on the same site.
AS.NET VB.NET code.

I am using shared hosting at www.serverintellect.com

What's the best solution to remedy this?
 
See if this helps:

http://www.sosuke.com/index.php/2009/05/12/validation-of-viewstate-mac-failed/

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin


Mark B said:
"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've been getting the above error periodically when I've left my computer
for 30+ minutes and return and navigate to another page on the same site.
AS.NET VB.NET code.

I am using shared hosting at www.serverintellect.com

What's the best solution to remedy this?



__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4263 (20090721) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4263 (20090721) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
"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've been getting the above error periodically when I've left my computer
for 30+ minutes and return and navigate to another page on the same site.
AS.NET VB.NET code.

I am using shared hosting atwww.serverintellect.com

What's the best solution to remedy this?

used in web.comfig file
<System.web>
<pages enableViewStateMac="false">
then it's work fine
 
Back
Top