How to solve “The ChannelDispatcher is unable to open its IChannelListener” error?

前端 未结 7 1184
既然无缘
既然无缘 2021-01-11 11:51

I\'m trying to communicate between WCF hosted in Windows Service and my service GUI. The problem is when I\'m trying to execute OperationContract method I\'m getting

7条回答
  •  逝去的感伤
    2021-01-11 12:04

    There should be a host.Close() call before calling the service again. Therefore use try, catch and finally block. Close the connection in finally before making second call.

提交回复
热议问题