Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

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)

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.

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

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×