★精品文档★
服务器安全狗导致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
inlicloud怎么样?inlicloud(引力主机)主要产品为国内NAT系列VPS,目前主要有:上海联通NAT(200Mbps带宽)、宿州联通NAT(200Mbps带宽)、广州移动NAT(200Mbps带宽)。根据官方的说法国内的NAT系列VPS不要求备案、不要求实名、对中转要求也不严格,但是,禁止任何形式的回国!安徽nat/上海联通/广州移动/江门移动nat云主机,2核1G/200Mbps仅...
酷锐云是一家2019年开业的国人主机商家,商家为企业运营,主要销售主VPS服务器,提供挂机宝和云服务器,机房有美国CERA、中国香港安畅和电信,CERA为CN2 GIA线路,提供单机10G+天机盾防御,提供美国原生IP,支持媒体流解锁,商家的套餐价格非常美丽,CERA机房月付20元起,香港安畅机房10M带宽月付25元,有需要的朋友可以入手试试。酷锐云自开业以来一直有着良好的产品稳定性及服务态度,支...
Hostodo 商家是比较小众的国外VPS主机商,这不看到商家有推送促销优惠在美国西岸的斯波坎机房还有少部分库存准备通过低价格促销,年付低至12美元Linux VPS主机,且如果是1GB内存方案的可以享受六六折优惠,均是采用KVM架构,且可以支付宝付款。第一、商家优惠码优惠码:spokanessd 1GB+内存方案才可以用到优惠码,其他都是固定的优惠低至年12美元。第二、商家促销这里,我们可以看到...