Viewstate verification failed. Reason: The viewstate supplied failed integrity check. 2

前端 未结 1 543
无人及你
无人及你 2021-01-24 17:20

I have been getting the error message that Viewstate verification failed. Reason: The viewstate supplied failed integrity check. and data is unable to be saved using my website

1条回答
  •  囚心锁ツ
    2021-01-24 18:01

    You can check if the problem is into the machine authentication code(MAC). Set enableViewStateMac="false". If you no longer get view state errors, the problem is related to the MAC feature. Also you can generate a new machineKey and copy it into the web.config of your app on each server. Here are some links that might help... explanation of machineKey http://msdn2.microsoft.com/en-us/library/w8h3skw9.aspx machineKey generator http://www.codeproject.com/aspnet/machineKey.asp

    0 讨论(0)
提交回复
热议问题