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.
把文件web.config里面的
<pages validateRequest="false" enableSessionState="true" enableViewState="true"/>
改成
<pages validateRequest="false" enableSessionState="true" enableViewStateMac="false" enableViewState="true"/>
一切ok