ASP.Net Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster

Amit
 
on Jan 30, 2014 12:30 AM
4450 Views

if my website when session of user expire i get the following error.

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.


My website is in vs3.5

Download FREE API for Word, Excel and PDF in ASP.Net: Download
Pradip
 
on Jan 30, 2014 01:06 AM
on Jan 30, 2014 01:07 AM

Try This

you see this post? Another thing that helped me with this error was setting a machineKey. You can generate one here.