★精品文档★
服务器安全狗导致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
目前舍利云服务器的主要特色是适合seo和建站,性价比方面非常不错,舍利云的产品以BGP线路速度优质稳定而著称,对于产品的线路和带宽有着极其严格的讲究,这主要表现在其对母鸡的超售有严格的管控,与此同时舍利云也尽心尽力为用户提供完美服务。目前,香港cn2云服务器,5M/10M带宽,价格低至30元/月,可试用1天;;美国cera云服务器,原生ip,低至28元/月起。一、香港CN2云服务器香港CN2精品线...
运作了18年的德国老牌机房contabo在继去年4月开办了第一个美国数据中心(中部城市:圣路易斯)后立马在本月全新上马两个数据中心:纽约、西雅图。当前,为庆祝美国独立日,美国三个数据中心的VPS全部免除设置费,VPS本身的配置很高,价格适中,有较高的性价比!官方网站:https://contabo.com/en/SSD VPSKVM虚拟,纯SSD阵列,不限制流量,自带一个IPv4内存CPUSSD带...
星梦云怎么样?星梦云好不好,资质齐全,IDC/ISP均有,从星梦云这边租的服务器均可以备案,属于一手资源,高防机柜、大带宽、高防IP业务,一手整C IP段,四川电信,星梦云专注四川高防服务器,成都服务器,雅安服务器 。官方网站:点击访问星梦云官网活动方案:1、成都电信年中活动机(封锁UDP,不可解封):机房CPU内存硬盘带宽IP防护流量原价活动价开通方式成都电信优化线路4vCPU4G40G+50...