提交数据后提示Validation of viewstate MAC failed
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.
2个服务器 同样的程序 其中一个就出现这个问题
请问有什么原因会出现这个问题
我知道web.config 上面加上 enableViewStateMac="false" 就不会报错 但是也不会正常运行了
用户控件读写 cookie都失效了
而另一台服务器程序却毫无问题