在登录页面上发生以下错误.. [英] Following error occur sometime on login page ..

查看:82
本文介绍了在登录页面上发生以下错误..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我输入用户名并通过时,我在登录页面上出现以下错误。

如果有问题那么为什么有时会出现此错误



I am getting following error on login page sometime when i enter username and pass..
If there is problem then why this error comes sometime not everytime

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

推荐答案

请检查以下密钥

< system.web> ;

< machineKey validationKey =AutoGenerate,IsolateApps

decryptionKey =AutoGenerate,IsolateApps

validation =SHA1decryption =自动/>

< /system.web>



http://msdn.microsoft.com/en-us/library/ff649308.aspx [ ^ ]
please check the following key
<system.web>
<machineKey validationKey="AutoGenerate,IsolateApps"
decryptionKey="AutoGenerate,IsolateApps"
validation="SHA1" decryption="Auto" />
</system.web>

http://msdn.microsoft.com/en-us/library/ff649308.aspx[^]


这篇关于在登录页面上发生以下错误..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆