WCF - The message could not be dispatched because the service at the endpoint address … is unavailable for the protocol of the address

前端 未结 6 1164
时光说笑
时光说笑 2021-02-02 09:35

Ok, can I vent?? I am so sick and tired of this. I\'m working away most of the day and the WCF services are working great. Next time I run my app and make a WCF call, bam! th

6条回答
  •  北海茫月
    2021-02-02 10:04

    Sounds Net.Tcp Listener Adapter service is being killed by some process or exception being throw by the web service putting the channel in a faulted state.

    Have you tried setting the startup type of the service to automatic and recovery to restart service on first and second failure?

    I doubt it very much that there is a bug in wcf net.tcp channel layer. If the listener is running and tcp socket no longer available i would suggest you look into the code especially around the exception handling strategy and have a peek into the iis request logs.

提交回复
热议问题