错误描述

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"/>

相关文章:

  • 2021-10-05
  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
  • 2022-01-22
  • 2021-06-22
  • 2022-12-23
猜你喜欢
  • 2022-01-20
  • 2021-12-04
  • 2021-07-17
  • 2022-12-23
  • 2021-08-20
  • 2021-07-11
相关资源
相似解决方案