Thursday, 11 August 2011

Validation of viewstate MAC failed

Error:-

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

Answer:-
if u get this error just add attribute EnableViewStateMac="false" in page tag

Example:-<%@ Page Language="C#" EnableViewStateMac="false" >

No comments:

Post a Comment