I currently trying to build a Duplex WCF Service using PollingDuplex Binding with SilverLight 4.0.
My service calls every 1 second few callbacks methods foreach connected clients. However, after 2 client connected, new clients got "Service Located at ... is too busy"
My service use this Behavior :
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single,
ConcurrencyMode = ConcurrencyMode.Multiple)]
WCF Binding configuration :
<pollingDuplexHttpBinding>
<binding name="" maxOutputDelay="00:00:01" serverPollTimeout="00:05:00"
inactivityTimeout="02:00:00" duplexMode="MultipleMessagesPerPoll"
maxBufferPoolSize="2147483647" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647"
maxNameTableCharCount="2147483647" />
</binding>
</pollingDuplexHttpBinding>
Service Behavior :
<behavior name="Push">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
<serviceThrottling maxConcurrentCalls="2147483647"
maxConcurrentInstances="2147483647"
maxConcurrentSessions="2147483647"/>
</behavior>
Service Definition :
<services>
<service name="PushService" behaviorConfiguration="Push">
<endpoint address="" binding="pollingDuplexHttpBinding"
contract="PushService"/>
<endpoint address="mex" binding="mexHttpBinding"
contract="IMetadataExchange"/>
</service>
</services>
Any help ? This exception make me crazy !