错误描述

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.

解决办法:

配置文件中 <pages enableEventValidation="false" viewStateEncryptionMode="Never" validateRequest="false" enableViewStateMac="false"/>

posted on 2008-07-29 10:32  ms  阅读(178)  评论(0编辑  收藏  举报