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.
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)
at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)