Wednesday, March 3, 2010

Windows Server 2008 and IIS 7.0 problems with WCF execution

First error set:
Error Summary:
The requested page cannot be accessed because the related configuration data for the page is invalid

Detailed Error Information:
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: <handler>
Solution:
Go to C:\Windows\System32\inetsrv\config and edit the applicationHost.config file.
Find the node
under
 and change it to 

You may have to do the same thing for the
node (change Deny to Allow) if the message persists in the browser, but this time the Config Source being


Second error set:
HTTP 500 --- Handler svc-Integrated has a bad module "ManagedPipelineHandler" in its module list

Basically it means your IIS has not been configured to allow http activations.
Start-&gt;Control Panel-&gt;Programs-&gt;Programs and Features.
Click on "Turn on Windows features on or off" on the left. This opens the "Server Manager" window. Click on the "Features" node on the left and click on "Add features" on the right.
You will see a list of features listed, one of them being .NET Framework 3.x features (installed). Expand it and check the "WCF Activation" node or all nodes under it (HTTP Activation and Non-Http Activation). Click on install.
This will now allow http activations such as svc support.

No comments:

Post a Comment