★精品文档★
服务器安全狗导致asp.net网站运行出错
一个案例
字典中的关键字:“registrypermission”所添加的关键字:“registrypermission”报错因为服务器上安全狗对.net程序关键字过于苛刻引出报错。
今天碰到一个.net的报错之前并没见过这种报错也没有太多的详细信息。“/”应用程序中的服务器错误。
字典中的关键字:“registrypermission”所添加的关键字:“registrypermission”
说明:执行当前web请求期间出现未处理的异常。请检查堆栈跟踪信息以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: system.argumentexception:已添加项。字典中的关键字: “registrypermission”所添加的关键字:“registrypermission”
源错误:
执行当前web请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
代码如下:
[argumentexception: 已添加项。 字典中的关键字:
1/4
★精品文档★
“registrypermission”所添加的关键字:“registrypermission”]system.col lections.hashtable. insert(object key, objectnvalue,boolean add)+7482408system.col lections.hashtable.add(object key, objectvalue)+1 1system.security.pol icy.pol icylevel .fromxml(securityelemente)+307system.security.securitymanager. loadpol icylevelfromstringhelper(string str,string path,pol icyleveltype type)+207system.security.securitymanager. loadpol icylevelfromstring(string str,pol icyleveltype type)+37system.web.httpruntime.createpol icylevel(stringconfigfi le, string appdir, string bindir, string stroriginurl ,boolean& foundgactoken)+420system.web.httpruntime.settrustlevel(trustsectiontrustsection, securitypol icysection securitypol icysection)+8913358system.web.httpruntime.hostinginit(hostingenvironmentfla
2/4
★精品文档★gs hostingflags)+186
[httpexception(0x80004005):已添加项。字典中的关键字 : “ registrypermission ”所添加 的 关键字 :“registrypermission”]system.web.httpruntime.firstrequestinit(httpcontextcontext)+8886319system.web.httpruntime.ensurefirstrequestinit(httpcontextcontext)+85system.web.httpruntime.processrequestinternal(httpworkerrequest wr)+259
-----------------------------------------------------------------------------
---
版本信息: microsoft .net framework 版本:2.0.50727.3053;asp.net版本:2.0.50727.3053
刚开始以为是权限还是dl l文件有问题最后才发现原来是服务器上安装了安全狗的问题
在安全狗中有一个与.net相关的配置面板将其改成完整模式没有任何权限限制系统默认级别
3/4
★精品文档★
4/4
pacificrack在最新的7月促销里面增加了2个更加便宜的,一个月付1.5美元,一个年付12美元,带宽都是1Gbps。整个系列都是PR-M,也就是魔方的后台管理。2G内存起步的支持Windows 7、10、Server 2003\2008\2012\2016\2019以及常规版本的Linux!官方网站:https://pacificrack.com支持PayPal、支付宝等方式付款7月秒杀VP...
青云互联怎么样?青云互联是一家成立于2020年6月的主机服务商,致力于为用户提供高性价比稳定快速的主机托管服务,目前提供有美国免费主机、香港主机、香港服务器、美国云服务器,让您的网站高速、稳定运行。美国cn2弹性云主机限时8折起,可选1-20个IP,仅15元/月起,附8折优惠码使用!点击进入:青云互联官方网站地址青云互联优惠码:八折优惠码:ltY8sHMh (续费同价)青云互联活动方案:美国洛杉矶...
感恩一年有你!免费领取2核4G套餐!2核4G轻量应用服务器2核 CPU 4GB内存 60G SSD云硬盘 6Mbps带宽领取地址:https://cloud.tencent.com/act/pro/lighthousethankyou活动规则活动时间2021年9月23日 ~ 2021年10月23日活动对象腾讯云官网已注册且完成实名认证的国内站用户(协作者与子用户账号除外),且符合以下活动条件:账号...