I have a project using Wcf Service. Binding in my web.config is :
<netNamedPipeBinding>
<binding name="RCISPNetNamedPipeBinding" />
</netNamedPipeBinding>
<service behaviorConfiguration="Fara.WcfServiceBehaviour" name="Fara.WcfService.CommonWcfService">
<endpoint address="CommonServices" binding="netNamedPipeBinding" bindingConfiguration="FaraNetNamedPipeBinding" contract="Fara.Common.ServiceContract.ICommonService" />
</service>
I have a runtime error when I want create service Host
public class ServiceFactory : ServiceHostFactory
{
protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses)
{
if (!IsInitialised) InitialiseService();
return base.CreateServiceHost(serviceType, baseAddresses);
}
}
Message of Exception is :
Could not find a base address that matches scheme net.pipe for the endpoint with binding NetNamedPipeBinding. Registered base address schemes are [http].
Properties of my project is :

What do I for correcting this error?
I updated Web.config :
But my problem not resolved!



As the error message says very clearly: you don’t have any base address defined for the
net.pipebinding. So define one!Then your service endpoint would be
net.pipe://localhost/Services/CommonServices