DotNetNuke: System.Security.Cryptography.CryptographicException: Bad Data

简介:

这几天在弄DNN,可是不知道为什么是不是出现

DotNetNuke: System.Security.Cryptography.CryptographicException: Bad Data

这样的错误,后来网上查了一些资料,有些说是加密的时候直接返回string类型,有些说是cookies的问题。

后来想想只要我重新打开一个了浏览器以后又没有这样才错误了,所以可以确定是cookie的问题。

那么造成这样错误的原因是什么呢?

这是因为我们试图打开两个DNN项目,比如你实现已经打开了localhost/dnn1,后来你又开了一个localhost/dnn2,在开localhost/dnn2的时候localhost/dnn1的cookie中的内容就试图去验证localhost/dnn2中的信息,可是因为两个面目的密码不同,从而导致了错误,现在我知道的解决方法是删除cookie和关闭浏览器再重新打开就可以了。





本文转自xwdreamer博客园博客,原文链接:http://www.cnblogs.com/xwdreamer/archive/2010/01/06/2297173.html,如需转载请自行联系原作者

目录
相关文章
|
4月前
|
安全 Java API
Eclipse 打开marketplace 报PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
网上有很多解决的帖子,我这里只是记录一下方便自己查阅 主要原因是java本身需要证书 1、按导入安全证书的方法解决
295 0
Eclipse 打开marketplace 报PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
|
安全 Java Apache
异常:PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/catoop/article/details/80819638 问题 java使...
19784 0
|
存储 安全 数据安全/隐私保护
|
安全
Network and Distributed System Security (NDSS) Symposium 2017
https://www.youtube.com/playlist?list=PLfUWWM-POgQsZ9YCXLaCHIvn_H6-F4esJ ...
862 0
Voiceprint Recognition System – Not Just a Powerful Authentication Tool
Learn details about voiceprint recognition system and its underlying principles as a powerful authentication tool
3937 0

热门文章

最新文章