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,如需转载请自行联系原作者

目录
相关文章
|
1月前
|
安全 Java API
Eclipse 打开marketplace 报PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
网上有很多解决的帖子,我这里只是记录一下方便自己查阅 主要原因是java本身需要证书 1、按导入安全证书的方法解决
418 0
Eclipse 打开marketplace 报PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
|
Java
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
931 0
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
|
安全 Java Apache
异常:PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/catoop/article/details/80819638 问题 java使...
20686 0
how does gateway framework treat default system flag in customizing
Suppose we have maintain multiple backend system as “default” in customizing:
117 0
how does gateway framework treat default system flag in customizing
|
iOS开发
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun ...
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun image.png 解决方法: 打开终端输入 xcode-select --install 回车后,系统弹出下载xcode,点击确认,下载完成后即可。
1659 0
|
Windows 测试技术
PAT Basic 1071. 小赌怡情(15)
题目内容 常言道“小赌怡情”。这是一个很简单的小游戏:首先由计算机给出第一个整数;然后玩家下注赌第二个整数将会比第一个数大还是小;玩家下注t个筹码后,计算机给出第二个数。若玩家猜对了,则系统奖励玩家t个筹码;否则扣除玩家t个筹码。
1069 0

热门文章

最新文章