Client OM and SharePoint Designer are not working problem
Posted
Sunday, December 20, 2009 4:22 PM
by
Itay Shakury
I have installed SharePoint 2010 Beta 2, and couldn’t use Client OM nor SharePoint Designer.

Well.. Checking the Application log showed me this error:
This makes sense, because SharePoint designer actually uses Client OM behind the scenes, which uses client.svc service.
If you read the detailed message, you will see that what’s missing there is the ‘webHttp’ extension.
So, in order to resolve the issue:
- Open the 14 Hive (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14)
- Open the folder: “ISAPI” (this is where the client.svc service is)
- Find the file: “web.config”, and open it for editing.
- Find the extensions element (inside <configuration>\<system.web>\<system.serviceModel>)
- add the following configuration inside the extensions element:
<extensions>
<behaviorExtensions>
<add name="webHttp" type="System.ServiceModel.Configuration.WebHttpElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</behaviorExtensions>
<bindingElementExtensions>
<add name="webMessageEncoding" type="System.ServiceModel.Configuration.WebMessageEncodingElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</bindingElementExtensions>
</extensions>
- Save the file and reset IIS.
Here is the error message as text for search engines:
Log Name: Application
Source: System.ServiceModel 3.0.0.0
Event ID: 3
Task Category: WebHost
Level: Error
Keywords: Classic
Description:
WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/48360500
Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be activated due to an exception during compilation. The exception message is: Invalid element in configuration. The extension name 'webHttp' is not registered in the collection at system.serviceModel/extensions/behaviorExtensions. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\web.config line 357). ---> System.Configuration.ConfigurationErrorsException: Invalid element in configuration. The extension name 'webHttp' is not registered in the collection at system.serviceModel/extensions/behaviorExtensions. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\web.config line 357)
…
Process Name: w3wp