몇 가지 방법이있는 WCF 서비스가 하나 있습니다. 한 가지 방법 이름이 만든 Windows 프로세스를 종료 KilProcess()이며 코드net.pipe에서 수신하는 엔드 포인트가 없습니다. // localhost/MyService
public void KilProcess()
{
Process.GetCurrentProcess().Kill();
}
그것은 내 컴퓨터에 있지만 클라이언트 머신 (높은 설정 기계)이 WCF 서비스가 중지지고에서 작업하고 예외를 던지고을 포함
2016년 9월 15일 16 : 08 : 11,789 INFO [표준 출력 (기본 작업-120) 1473948491783 SystemLog 1,473,948,491,078의 ScriptEngine가-이 net.pipe에서 듣고 더 엔드 포인트 없었다 : // localhost를 /이면 MyService 수 메시지 을 수락하십시오. 이는 종종 잘못된 주소 또는 SOAP 조치로 인해 발생합니다. 자세한 내용은 InnerException을 참조하십시오. 서버 스택 추적 : System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName (열린 우리당 URI, IPipeTransportFactorySettings transportFactorySettings)에서 System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey (EndpointAddress를 주소, 열린 우리당을 통해)에서 는 system.serviceModel에서 .Channels.CommunicationPool`2.TakeConnection (EndpointAddress를 어드레스, 열린 통해, 시간 범위의 제한, TKEY & 키) System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen에서 System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection (시간 범위 초과)에서 (TimeSpan 시간 초과) 시스템에서 System.ServiceModel.Channels.ServiceChannel.OnOpen (타임 아웃 시간 범위)에서 System.ServiceModel.Channels.CommunicationObject.Open
(시간 범위 초과)에서System.ServiceModel.Channels.CommunicationObject.Open (시간 범위 초과) .ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce에서 (ServiceChannel 채널, 타임 아웃 시간 범위) (시간 범위 초과, CallOnceManager 캐스케이드)에서 System.ServiceModel.Channels.ServiceChannel.Call (String action, 부울 oneway, ProxyOperationRuntime 작업, Object [] ins, System.ServiceModel.Channels.ServiceChannelProxy.InvokeService 에서 오브젝트 [] 아웃, 타임 아웃 시간 범위)에서 System.ServiceModel.Channels.ServiceChannelProxy.Invoke (IMethodCallMessage methodCall을, ProxyOperationRuntime 동작) (iMessage를 메시지)에서 예외 재 throw [0] : System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage Myprod.TestFacade에서 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke에서 (iMessage를 reqMsg, iMessage를 retMsg) (MessageData & msgData, INT32 타입)에서. Program.KillProcess()에서 Interface.IScriptProcess.UnregisterProcess (Int32 ProcessId, String taskId) ..
왜 (WCF 서비스) 중지인지 알 수 있습니까?
오류 메시지는 분명합니다. 'net.pipe : // localhost/MyService'에서 듣고있는 엔드 포인트가 없습니다. 클라이언트가 서비스와 동일한 시스템에 있습니까 (net.pipe를 사용해야 함)? 연결할 때 서비스가 실행 중입니까? – Tim