1. The following components are mandatory to host WCF services in IIS 7.0.
Common HTTP Features
iii.IP and Domain Restrictions
i.IIS Management Console
ii.IIS 6 Management Compatibility
2. To check whether the above components are installed in your machine,
Go to Server Manager and then choose Roles under the Server Manager tree. Go to Role Service window on the right side pane and make sure the above components are installed.
3. If any of the above roles are missing choose the Roles node under the Server Manager tree, right click and then click the “Add Roles” menu. Add the appropriate roles from the Add Roles wizard.
4.Go to Server Manager and then choose Features under the Server Manager tree. Go to Features window on the right side pane and make sure the “WCF Activation” feature is installed as part of Windows Server 2008.
5. If the “WCF Activation” feature is not installed, right click on the Features node under Server Manager tree and then click Add Features menu. Expand the .NET Framework 3.0 Features node in the Add Features Wizard and Choose the WCF Activation feature by clicking the check box. Click Next on the wizard and then click “Install” button in the final step.