Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You can't access a custom web service in SharePoint Server 2010 SP2


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have Microsoft SharePoint Server 2010 Service Pack 2 (SP2) installed in a Windows Server 2012 environment.
  • You create a custom web service by using non-http bindings to SharePoint Server 2010 SP2.
  • You add the custom web service and then try to access it in SharePoint Server 2010 SP2.
In this scenario, you receive the following error message:

Exception: System.InvalidOperationException: The protocol 'net.tcp' does not have an implementation of HostedTransportConfiguration type registered.
at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)

↑ Back to the top


Cause

This issue occurs because the Microsoft .NET Framework 2.0 Web.config file in Windows Server 2012 is not updated to include the HostedTransportConfiguration TCP connection type.

↑ Back to the top


Workaround

To work around this issue, click the following article number to view the article in the Microsoft Knowledge Base:
2803161 "'Net.tcp' does not have an implementation of HostedTransportConfiguration type registered" error message when you host .NET Framework 3.5 WCF service on Windows Server 2012 or Windows 8

↑ Back to the top


Keywords: kbsurveynew, kbtshoot, kbexpertiseinter, kb

↑ Back to the top

Article Info
Article ID : 2804644
Revision : 1
Created on : 1/7/2017
Published on : 8/23/2013
Exists online : False
Views : 178