Getting exception in wcf service - The protocol 'net.pipe' is not supported


I have deployment of WCF service on IIS 7 with support for Non-HTTP enabled

Under one project, I have exposed 8 different services with wsHttp endpoints which works fine.

I want to also expose NetNamedPipe bindings for the same services.

My sample NetNamedPipe bindings . . .

<netNamedPipeBinding> <binding name="PassportIPCBasicEndpoint" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:05:00" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" transferMode="Buffered" hostNameComparisonMode="Exact" > <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/> <security mode="Transport"> <transport protectionLevel="None" /> </security> </binding> </netNamedPipeBinding>

And my Service tags

<service behaviorConfiguration="default" name="MyAccountService.AccountService"> <host> <baseAddresses> <add baseAddress="http://localhost/MyAccountService/v1.0/AccountService.svc" /> </baseAddresses> </host> <endpoint name="PassportIPCBasicEndpoint" address="net.pipe://localhost/MyAccountService/v1.0/AccountService.svc" binding="netNamedPipeBinding" bindingConfiguration="PassportIPCBasicEndpoint" contract="MyAccountService.IAccountService"/> </service>

This gives me following exception :


The protocol 'net.pipe' is not supported.

[InvalidOperationException: The protocol 'net.pipe' is not supported.] System.ServiceModel.Activation.HostedTransportConfigurationManager.InternalGetConfiguration(String scheme)

[InvalidOperationException: The ChannelDispatcher at 'net.pipe://localhost/MyAccountService/v1.0/AccountService.svc' with contract(s) '"IAccountService"' is unable to open its IChannelListener.]


I have added entry for http,net.pipe in advanced site settings in IIS.

Non-HTTP support for WCF service is also installed and enabled through control panel settings.

out of 8 .svc services only one such service is able to get hold of port and I can browse it's .SVC endpoint

all other services when configured for netnamedPipe binding give me above errors.

Can some body guide me, what needs to be done to make them all get hold on port and be accessible.


This problem was with enabling the protocols at the correct place. Previously i had enabled net.pipe protocol at site level.

After enabling net.pipe protocol at each virtual path of the hosted services. It worked.


The netNamedPipe binding is <strong>only</strong> for on-the-same-machine communication - you cannot call such an endpoint from a remote machine.

Is that what you're trying to do??

netNamedPipe binding is great for intra-application communication on the same machine - but not for anything else, really.


  • How to re-write WCF client to use ChannelFactory instead of service reference
  • WCF- Sign a specific field inside the body of a soap message
  • Request permission for microphone on Android M
  • Android google maps v2 crashing on startup
  • NTLM authorization WCF in ASP.NET Core does not work
  • Remote WCF Service
  • send mails via sendgrid
  • Can't send file with ajax to php file
  • Spring - java.lang.NumberFormatException: For input string
  • How to forcefully download .csv file instead of getting in open on browser in html
  • Remote debugging of a Java application launched as a Windows service
  • p:panelGrid inside p:panelGrid, how to remove borders in an outer p:panelGrid?
  • How can I do a 301 redirect from http to https in Wildfly 8.2?
  • regex, multiline extract in R
  • Is 'if element in aList' possible with Django templates?
  • Can I convert bool in model to yes/no in a QComboBox
  • Dom Node for PHP find href attribute issue
  • Get the Id/name of an element from dynamically generated HTML JQuery
  • LINQ to Entities does not recognize the method 'System.String ToString()' method, and this
  • Selenium - How to skip the record from the Set after the its first occurrence
  • Paramiko SSHException Channel Closed
  • How secure are apple APNS push notifications?
  • Separate ID and Class for JS and CSS
  • Feature detection of foreignObject in SVG
  • Why does the font in these TD elements render at different sizes?
  • runtime error when linking ffmpeg libraries in qt creator
  • garbled css name when styling within UiBinder
  • Local Development, Apache vs Developer - file permissions
  • Embedded Glassfish JPA Datasource connection fail
  • How to open html table in xls on click of a button
  • HttpListener.IsSupported is false on XP SP3
  • Getting media player state in windows phone 7
  • Enabling DTD support in Sql Server
  • GAE: Way to get reference to an HttpSession from its ID?
  • Does Mobilefirst provide a provision to access web services directly?
  • How do I get HTML corresponding to current DOM tree?
  • Read a local file using javascript
  • How to show dropdown in excel using jrxml (jasper api)?
  • Unanticipated behavior
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)