Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure t
2014-09-12 15:54
627 查看
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
相关文章推荐
- Asp.net Submit提交时Validation of viewstate MAC failed错误的解决方法
- Validation of viewstate MAC failed. 解决方法
- 验证视图MAC失败 Validation of ViewState MAC Failed
- Asp.Net验证视图状态 MAC 失败 ( Validation of viewstate MAC failed )
- 转:Validation of viewstate MAC failed异常的原因及解决方法
- 验证视图MAC失败 Validation of ViewState MAC Failed
- Validation of viewstate MAC failed. 解决方法
- 验证视图MAC失败 Validation of ViewState MAC Failed
- Asp.Net2.0验证视图状态 MAC 失败 ( Validation of viewstate MAC failed )
- 验证视图MAC失败 Validation of ViewState MAC Failed
- A Solution to: Validation of viewstate MAC failed
- 一个有趣的 ”Validation of viewstate MAC failed” 错误的发现和解决
- 验证视图状态 MAC 失败 ( Validation of viewstate MAC failed )
- 警告: The web application [ROOT] appears to have started a thread named [Thread-48] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
- 验证视图状态 MAC 失败 ( Validation of viewstate MAC failed )
- [转载]Validation of viewstate MAC failed异常的原因及解决方法
- Validation of viewstate MAC failed machinekey生成、使用方法
- 错误:created a ThreadLocal with key of type ……but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
- Validation of viewstate MAC failed
- Validation of viewstate MAC failed