Category / Section
How to increase timeout for WCF service in Silverlight Olap Client?
1 min read
When trying to load more data in the OlapClient Silverlight control, a timeout exception may occur. This can be avoided increasing the timeout for WCF service. Open Web.config file which is located in your OlapClient.SL.Web project.
In that you can increase the timeout by setting the timeout option in Web.config file which is shown below.
XAML
<customBinding> <binding name="binaryHttpBinding" openTimeout="00:00:10" closeTimeout="00:00:10" receiveTimeout="00:00:10" sendTimeout="00:00:10"> <binaryMessageEncoding/> <httpTransport maxReceivedMessageSize="2147483647"/> </binding> </customBinding>
Note that the Timeout is represented by HH:MM:SS format. In the above example it is represented as 10 seconds.