WCF NamedPipe CommunicationException - “The pipe has been ended. (109, 0x6d).”

前端 未结 9 1316
没有蜡笔的小新
没有蜡笔的小新 2020-12-16 13:18

I am writing a Windows Service with accompanying \"status tool.\" The service hosts a WCF named pipe endpoint for inter-process communication. Through the named pipe, the

9条回答
  •  借酒劲吻你
    2020-12-16 13:36

    This exception means there is a serialization problem on the server side.

    This issue can be resolved by looking into the trace file (svclog). To turn tracing on use the following configuration:

    
            
                
                    
                        
                    
                
                
                    
                        
                    
                
            
            
                
            
        
    

    In my case I was serializing a value that was not in the enum.

提交回复
热议问题