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

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?
 
E

Eliyahu Goldin

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
 
S

shyam sunder kumar

"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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top