Note that there are some explanatory texts on larger screens.

plurals
  1. POWCF PollingDuplexBinding getting Faulted
    primarykey
    data
    text
    <p>for notification in my silverlight client app, I am using WCF pollingDuplex binding.</p> <p>Binding Details at server side ...</p> <pre><code>PollingDuplexHttp Binding custPollBind = new PollingDuplexHttpBinding(); custPollBind.InactivityTimeout = TimeSpan.FromDays(12); custPollBind.ReceiveTimeout = TimeSpan.FromDays(12); custPollBind.ServerPollTimeout = TimeSpan.FromSeconds(25); custPollBind.TransferMode = TransferMode.StreamedResponse; custPollBind.MaxOutputDelay = new TimeSpan(0, 0, 7); </code></pre> <p>Binding Details At Client Side :</p> <pre><code> PollingDuplexHttpBinding binding = new PollingDuplexHttpBinding() { ReceiveTimeout = TimeSpan.FromDays(12), InactivityTimeout = TimeSpan.FromDays(12), }; EndpointAddress address = new EndpointAddress(endPoint); client = new StuDuplexServiceClient(binding, address); </code></pre> <p>I want channel should never go into fault stat.</p> <p>For this , also on every minitue I am sending some dummy notification data to keep all connected client or channel alive.</p> <p>It is working fine. But After long duration usually 4-5 or 5-6 or some time 2-3 hours all connected channel getting faulted. ANd client app is no more connected to WCF service.</p> <p>Once after long duration , if I am refreshing the page or re-connecting the client app, it is connecting , but again after only 10-12 seconds , channel is becoming faulted state. and you can say , it is connecting for only 10-12 seconds.</p> <p>If again I am re-starting my service , then it is working fine. and same problem is contud.... after some time.</p> <p>My WCF service is hosted as Windows service.</p> <p>For Service Behavior I am using this..</p> <pre><code>[ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple, InstanceContextMode = InstanceContextMode.Single)] </code></pre> <p>Is this creating any problem. I have checked by removing this also. but there is no luck.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload