“Validation of viewstate MAC failed. If this application is hosted by a Web Far…”

前端 未结 7 795
悲&欢浪女
悲&欢浪女 2021-01-11 10:07

i am facing the dreaded:

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the

7条回答
  •  一生所求
    2021-01-11 11:12

    I used this Microsoft article to create my own machineKey validationkey and decryptionKey. As others have stated, this can be placed within the system.web section of web.config, though there are security concerns if other people get hold of the key.

提交回复
热议问题