Nie znaleziono nazwanego potoku przy użyciu WCF netNamedPipeBinding

Jestem twórcą usługi WCF. Moi klienci testowi bardzo dobrze z tym współpracują. Ale jeśli chodzi o prawdziwych klientów (używając tego samego proxy klienta), to się nie udaje. Ta sama usługa WCF działa z netTcpBinding, ten błąd występuje tylko w przypadku netNamedPipeBinding, nawet z ConcurrencyMode = ConcurrencyMode.Single

Oto wyjątek

Nie było nasłuchiwania punktu końcowego w net.pipe: // localhost / MyService, który mógłby zaakceptować komunikat. Jest to często spowodowane nieprawidłowym adresem lub działaniem SOAP. Więcej informacji można znaleźć w InnerException, jeśli jest obecny.

Ślad stosu serwerów: at

System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName (Uri uri) w System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey (adres EndpointAddress, Uri via) w System.ServiceModel.Channels.CommunicationPool`2.TakeConnection (adres EndpointAddress`2.TakeConnection (adres EndpointAdres, Uri via , TimeSpan timeout, TKey & key) w System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection (TimeSpan timeout) w System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen (TimeSpan timeout) w System.ServiceModel.Channels.CommunicationObject.Open (TimeSpan Timeout). System.ServiceModel.Channels.ServiceChannel.OnOpen (TimeSpan timeout) w System.ServiceModel.Channels.CommunicationObject.Open (TimeSpan timeout) w System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce (TimeSpan timeout, CallOnceManager.CallOnce)
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened (TimeSpan timeout) w System.ServiceModel.Channels.ServiceChannel.Call (akcja String, Boolean oneway, operacja ProxyOperationRuntime, ins [Object], Object [] outs, TimeSpan timeout) w System. ServiceModel.Channels.ServiceChannelProxy.InvokeService (IMethodCallMessage methodCall, operacja ProxyOperationRuntime) w System.ServiceModel.Channels.ServiceChannelProxy.Invoke (komunikat IMessage)

Wyjątek powtórzony w [0]: w System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage (IMessage reqMsg, IMessage retMsg) w System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (MessageData & msgData, typ Int32) w

Wyjątek wewnętrzny

PipeException: "Nie można znaleźć punktu końcowego rury 'net.pipe: // localhost / MyService' na lokalnym komputerze."

questionAnswers(3)

yourAnswerToTheQuestion