I got this problem after deploying my web package to IIS:
HTTP Error 500.19 – Internal Server Error The requested page cannot be
accessed because the related configuration data for the page is
invalid.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:
119: </modules>
120: <handlers>
121: <remove name="WebServiceHandlerFactory-Integrated" />
How can I solve this issue?
See Scenario 7 on this page Troubleshooting HTTP 500.19 Errors in IIS 7, it looks pretty much identical to your error message.
One of the key points I think is the following:
If you’re just doing this on your local desktop IIS rather than on a server you may possibly need to use aspnet_regiis to reregister .NET with IIS, although I’m not guaranteeing that will work to unlock the section.