加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net – IIS 7.5和ASP .NET 2.0

发布时间:2020-12-16 00:28:41 所属栏目:asp.Net 来源:网络整理
导读:IIS 7.5有什么已知问题吗?当我尝试浏览/启动/查看网站上的任何页面时,我收到以下错误。 HTTP Error 500.19 - Internal Server ErrorThe requested page cannot be accessed because the related configuration data for the page is invalid.Module IIS We
IIS 7.5有什么已知问题吗?当我尝试浏览/启动/查看网站上的任何页面时,我收到以下错误。
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"/>

解决方法

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

基本上applicationHost.config的处理程序部分被锁定:

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

我改变了

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

它工作。

也值得检查所有asp.net角色是否已安装,请参阅link text。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读