|
Hi I am developing a wcf service with netNamedpipesBinding when I run the service (debug->start new instance)I am getting the error as "the protocol 'net.pipe' is not supported"
web.config file as below.
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
<behavior name="ServiceBehaviour"></behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
<bindings>
<netNamedPipeBinding>
<binding name="ServiceBinding">
<security mode="None"></security>
</binding>
</netNamedPipeBinding>
</bindings>
<services>
<service name="WcfNPService.Service1" behaviorConfiguration="ServiceBehaviour">
<endpoint name="NPEndPoint" address="net.pipe://localhost/WcfNPService/Service1.svc"
binding="netNamedPipeBinding"
contract="WcfNPService.IService1" bindingConfiguration="ServiceBinding"></endpoint>
</service>
</services>
</system.serviceModel>
</configuration>
|
|
|
|
|
I can only suggest that you check if "Net.Pipe Listener Adapter" service is running in Services management console.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Thanks Rechard,
I just started developing WCF Services,can we self host these service which are using named pipes binding?
Is this binding any way related to IIS version I have on the machine too(I have IIS 5.1 only)?
I read from Msdn saying(NamedPipe Activation require IIS 7.0).
so can't i use these bindings with IIS 5.1?
Regards,
Mallikharjun.
|
|
|
|
|
As far as I am aware, IIS5.1 is Windows XP and Windows XP does not support what you want to achieve. Your choice is to upgrade to an operating system that does support what you want to achieve.
modified 1-Aug-19 21:02pm.
|
|
|
|