Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: WCF
I have exposed a svc having some methods.
 
While calling some methods. Timeout exceptionis comming when execution time reached 00:59 seconds.
 
Please suggest me any configuration so that i can increase my timeout.
Posted 15-Apr-13 21:54pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Please check the below links.
1. Increasing the timeout value in a WCF service[^]
2. Timeouts WCF Services[^]

<system.serviceModel>
  <bindings>
    <netTcpBinding>
    <binding name="longTimeoutBinding"
        receiveTimeout="00:10:00" sendTimeout="00:10:00">
      <security mode="None"/>
    </binding>
    </netTcpBinding>
   </bindings>
 
  <services>
    <service name ="longTimeoutService"
      behaviorConfiguration="longTimeoutBehavior">
      <endpoint address="net.tcp://localhost/longtimeout/"
        binding="netTcpBinding" bindingConfiguration="longTimeoutBinding">
 
      </endpoint>
    </service>
....
  Permalink  
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.1411022.1 | Last Updated 16 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100