views:

4442

answers:

4

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"/>
+6  A: 

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.

TheRealQuagmire
Yep, ASP.NET uses a hierarchy of configuration files, starting from the folder closest to the requested page, down to the application root, and then into the .NET Framework Config folder - there are two or three in there that work together, down to machine.config. Elements can be locked at any of those levels, see both: http://msdn.microsoft.com/en-us/library/system.configuration.sectioninformation.allowoverride.aspx and http://msdn.microsoft.com/en-us/library/system.configuration.sectioninformation.overridemodedefault.aspx
Zhaph - Ben Duguid
thank you thank you thank you....(the "link text")
Andrew
A: 

This has solved my issue on Windows 7 64bit IIS 7.

Aboo
A: 

The last answer gave me the answer, then it gave me another error, so you should check this one too

Sergio
A: 

Having the same issue but my new installation of Windows 7 Professional will not let me save any changes to the web.config in the wwwroot OR let me publish to that directoy? Anyone?

kansasfiddler