服务器安全狗导致asp.net网站运行出错的一个案例_6
- 格式:doc
- 大小:15.00 KB
- 文档页数:1
今天碰到一个.net的报错,之前并没见过这种报错,也没有太多的详细信息。“/”应用程序中的服务器错误。
字典中的关键字:“registrypermission”所添加的关键字:“registrypermission”
system.web.httpruntime.ensurefirstrequestinit(httpcontext context) +85
system.web.httpruntime.processrequestinternal(httpworkerrequest wr) +259
--------------------------------------------------------------------------------
源错误:
执行当前web请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关:
[argumentexception:已添加项。字典中的关键字:“registrypermission”所添加的关键字:“registrypermission”]
system.collections.hashtable.insert(object key, object nvalue, boolean add) +7482408
更多信息请查看IT技术专栏
system.web.httpruntime.settrustlevel(trustsection trustsection, securitypolicysection securitypolicysection) +8913358
system.web.httpruntime.hostinginit(hostingenvironmentflags hostingflags) +186
说明:执行当前web请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: system.argumentexception:已添加项。字典中的关键字:“registrypermission”所添加的关键字:“registrypermission”
system.security.securitymanager.loadpolicylevelfromstring(string str, policyleveltype type) +37
system.web.httpruntime.createpolicylevel(string configfile, string appdir, string bindir, string stroriginurl, boolean& foundgactoken) +420
[httpexception (0x80004005):已添加项。字典中的关键字:“registrypermission”所添加的关键字:“registrypermission”]
system.web.httpruntime.firstrequestinit(httpcontext context) +8886319
system.collections.hashtable.add(object key, object value) +11
system.security.policy.policylevel.fromxml(securityelement e) +307
system.security.securitymanager.loadpolicylevelfromstringhelper(string str, string path, policyleveltype type) +207
版本信息: microsoft .net framework版本:2.0.50727.3053; 版本:2.0.50727.3053
刚开始以为是权限还是dll文件有问题,最后才发现原来是服务器上安装了安全狗的问题
在安全狗中有一个与.net相关的配置面板,将其改成完整模式,没有任何权限限制,系统默认级别