You must Sign In to post a response.
  • Category: WCF

    How to increase the time in WCF services while consuming data in sql server

    Hi Team,I'm getting an Error in sql server like "OPeration has time out" while running mutiple queries at a time in different windows,how to increase the time in WCF services while consuming data in sql server ..
  • #754274
    You can set the Time out in the configuration file as below.




    <configuration>
    <system.serviceModel>
    <bindings>
    <wsHttpBinding>
    <binding openTimeout="00:10:00"
    closeTimeout="00:10:00"
    sendTimeout="00:10:00"
    receiveTimeout="00:10:00">
    </binding>
    </wsHttpBinding>
    </bindings>
    </system.serviceModel>


    Thanks & Regards
    Anil Kumar Pandey
    Microsoft MVP, DNS MVM


  • Sign In to post your comments