★精品文档★
服务器安全狗导致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
搬瓦工vps(bandwagonhost)现在面向中国大陆有3条顶级线路:美国 cn2 gia,香港 cn2 gia,日本软银(softbank)。详细带宽是:美国cn2 gia、日本软银,都是2.5Gbps~10Gbps带宽,香港 cn2 gia为1Gbps带宽,搬瓦工是目前为止,全球所有提供这三种带宽的VPS(云服务器)商家里面带宽最大的,成本最高的,没有第二家了! 官方网站:https...
VPSDime是2013年成立的国外VPS主机商,以大内存闻名业界,主营基于OpenVZ和KVM虚拟化的Linux套餐,大内存、10Gbps大带宽、大硬盘,有美国西雅图、达拉斯、新泽西、英国、荷兰机房可选。在上个月搞了一款达拉斯Linux系统VPS促销,详情查看:VPSDime夏季促销:美国达拉斯VPS/2G内存/2核/20gSSD/1T流量/$20/年,此次推出一款Windows VPS,依然是...
近日CloudCone发布了最新的补货消息,针对此前新年闪购年付便宜VPS云服务器计划方案进行了少量补货,KVM虚拟架构,美国洛杉矶CN2 GT线路,1Gbps带宽,最低3TB流量,仅需14美元/年,有需要国外便宜美国洛杉矶VPS云服务器的朋友可以尝试一下。CloudCone怎么样?CloudCone服务器好不好?CloudCone值不值得购买?CloudCone是一家成立于2017年的美国服务器...