在新的部署System.Web.AspNetHostingPermission异常 [英] System.Web.AspNetHostingPermission Exception on New Deployment

查看:250
本文介绍了在新的部署System.Web.AspNetHostingPermission异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在移动到另一个从一台服务器的Web应用程序的朋友。新的服务器具有相同的设置的第一个服务器,但是,他正在成为一个安全问题。下面是错误的详细信息:

I have a friend that is moving a web application from one server over to another. The new server has the same settings as the first server, however, he's running into a Security issue. Here's the error details:

申请类型的权限'System.Web.AspNetHostingPermission,系统,版本= 2.0.0.0,文化=中性公钥= b77a5c561934e089'失败。

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

事件查看器没有指向具体的web.config文件或任何东西。该网站的应用程序是有在C:驱动器。这是一个全新的IIS 7安装在Windows Server 2008 R2 x64服​​务器,。 IIS在经典模式设置为这个应用程序池。

The Event Viewer does not point to anything specific in the web.config file or anything. The web applicaiton is on the C: drive. This is a Windows Server 2008 R2 x64 server with a brand new IIS 7 installation. IIS is set in classic mode for this app pool.

推荐答案

你试过<一个href=\"http://geekswithblogs.net/ProjectLawson/archive/2009/05/05/iis-system.web.aspnethostingpermission-exception-on-windows-7-rc.aspx\"相对=nofollow>修改加载用户配置文件应用程序池设置为True(默认值为False)?

Have you tried changing the "Load User Profile" App Pool setting to True (the default is False)?

这篇关于在新的部署System.Web.AspNetHostingPermission异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆