So, I'd be curious to understand what circumstances cause these sections to be locked - it would seem to me that someone explicitly locked the handlers/modules sections down, because I'm pretty sure it's not the default setting.
I think you will be getting this issue when using managed code module (and not the wc.dll).
To fix this update this file
C:\Windows\System32\inetsrv\config\ApplicationHost.config
Update:
<section name="handlers" overrideModeDefault="Deny" />
change deny to Allow
You will probably also get another error with another entry. I forget which one it is
but just change that one to allow as well
Bob
tried to install on windows 8 iis, but got this error, can someone help?
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information:
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 File
\\?\C:\inetpub\wwwroot\wconnect\web.config
Requested URL
http://localhost:80/wconnect
Physical Path
C:\inetpub\wwwroot\wconnect
Logon Method
Not yet determined
Logon User
Not yet determined
Config Source:
70: <validation validateIntegratedModeConfiguration="false"/>
71: <handlers>
72: <add name=".wc_wconnect-module" path="*.wc" verb="*" type="Westwind.WebConnection.WebConnectionHandler,WebConnectionModule" preCondition="integratedMode"/>