timeout issue in wcf service

Posted by Plhkrishna under WCF on 12/1/2014 | Points: 10 | Views : 564 | Status : [Member] | Replies : 1
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 ..

.net developer


Responses

Posted by: kgovindarao523-21772 on: 12/2/2014 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi,
in your WCF Apllication, web.config file, place/modify...
<httpRuntime executionTimeout="VALUE" />

VALUE -> Specifies the maximum number of seconds that a request is allowed to execute before being automatically shut down by ASP.NET.
This time-out applies only if the debug attribute in the compilation element is False.
The default is "00:01:50" (110 seconds). Increase this VALUE to a large value.

ex:<httpRuntime
executionTimeout="110">

Thank you,
Govind

Plhkrishna, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response