PollingDuplexHttpBinding faulted after 5 or 6 calls
Asked Answered
B

1

6

I have Implemented polling duplex in silverlight 4 application for getting large amounts of data using client call backs from server, so my service contains some functions with client call backs and some with out call backs. When only 3 or 4 functions called parallel it was working fine, when more than 5 or 6 parallel calls are there i am getting ServerTooBusyException (Service is too busy).

After setting serviceThrottling maxConcurrentCalls="10000" maxConcurrentInstances="10000" maxConcurrentSessions="10000" values also, I am unable to fix the problem.

When I apply basichttpbinding to service everything is working fine, but when pollingDuplexHttpBinding is aplied its giving error

Bagpipes answered 5/5, 2011 at 7:2 Comment(0)
B
0

Take a look at ReliableSessionElement.MaxPendingChannels. Here is example. BTW May be it will be good to think about how to process that exception when the time comes.

Baton answered 27/7, 2012 at 8:26 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.