★精品文档★
服务器安全狗导致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
专心做抗投诉服务器的VirtVPS上线瑞士机房,看中的就是瑞士对隐私的保护,有需要欧洲抗投诉VPS的朋友不要错过了。VirtVPS这次上新的瑞士服务器采用E-2276G处理器,Windows/Linux操作系统可选。VirtVPS成立于2018年,主营荷兰、芬兰、德国、英国机房的离岸虚拟主机托管、VPS、独立服务器、游戏服务器和外汇服务器业务。VirtVPS 提供世界上最全面的安全、完全受保护和私...
这次RackNerd商家提供的美国大硬盘独立服务器,数据中心位于洛杉矶multacom,可选Windows、Linux镜像系统,默认内存是64GB,也可升级至128GB内存,而且硬盘采用的是256G SSD系统盘+10个16TSAS数据盘,端口提供的是1Gbps带宽,每月提供200TB,且包含5个IPv4,如果有需要更多IP,也可以升级增加。CPU核心内存硬盘流量带宽价格选择2XE5-2640V2...
georgedatacenter怎么样?georgedatacenter这次其实是两个促销,一是促销一款特价洛杉矶E3-1220 V5独服,性价比其实最高;另外还促销三款特价vps,大家可以根据自己的需要入手。georgedatacenter是一家成立于2019年的美国vps商家,主营美国洛杉矶、芝加哥、达拉斯、新泽西、西雅图机房的VPS、邮件服务器和托管独立服务器业务。georgedatacen...