IIS 7.5和ASP.NET 2.0中 [英] IIS 7.5 and ASP .NET 2.0

查看:147
本文介绍了IIS 7.5和ASP.NET 2.0中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有与IIS 7.5的任何已知问题?我收到以下错误,当我尝试浏览/开始/查看网站上的任何页面。

  HTTP错误500.19  - 内部服务器错误
请求的页面不能因为相关配置进行访问
 该网页数据是无效的。模块IIS Web核心
通知的BeginRequest
处理程序尚未确定
错误code 0x80070021
配置错误这部分配置不能在这个路径中使用。
 当部分在一父级别锁定发生这种情况。锁定是
默认设置的(overrideModeDefault =拒绝),或者通过一个位置标记有明确设置
  overrideMode =拒绝或旧有的allowOverride =false的。配置源
97:< /模块>
98:或其可处理>
99:<清除NAME =WebServiceHandlerFactory集成的/>


解决方案

也有类似的问题,最终找到这篇文章的使用:
http://support.microsoft.com/kb/942055

基本上已经的applicationHost.config处理器部分锁定:

 <节名称=处理程序overrideModeDefault =拒绝/>

我改成了

 <节名称=处理程序overrideModeDefault =允许/>

和它的工作。

另外值得一检查,所有的asp.net角色已经安装,请参见链接文本

Are there any known issues with IIS 7.5? I'm getting the following error when I try to browse/start/view any page on the site.

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration
 data for the page is invalid.

Module  IIS Web Core
Notification    BeginRequest
Handler Not yet determined
Error Code  0x80070021
Config Error    This configuration section cannot be used at this path. 
 This happens when the section is locked at a parent level. Locking is either by
default (overrideModeDefault="Deny"), or set explicitly by a location tag with 
  overrideMode="Deny" or the legacy allowOverride="false". 

Config Source
97:         </modules>
98:         <handlers>
99:             <remove name="WebServiceHandlerFactory-Integrated"/>

解决方案

Had a similar issue, ended up finding this article of use: http://support.microsoft.com/kb/942055

basically the applicationHost.config had the handler section locked: was

<section name="handlers" overrideModeDefault="Deny" />

i changed it to

<section name="handlers" overrideModeDefault="Allow" />

and it worked.

also worth checking that ALL the asp.net roles have been installed, see link text.

这篇关于IIS 7.5和ASP.NET 2.0中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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