Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS 7.5 and ASP .NET 2.0

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"/>
like image 378
abjbhat Avatar asked Aug 01 '09 01:08

abjbhat


1 Answers

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.

like image 165
TheRealQuagmire Avatar answered Sep 25 '22 16:09

TheRealQuagmire