且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

IIS 7.5和ASP.NET 2.0中

更新时间:2023-02-11 19:07:51

也有类似的问题,最终找到这篇文章的使用:
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.