Mar 01, 2010 03:10 AM|st_|LINK
I would say that setting Connection timeout in web.config and CommandTimeout of the SqlCommand object are right points but one more thing should be set beside that - this is the executionTimout of the requiest. If the execution timout is smaller than the
connection timout you will not be able to get the response incuding the results. So set the execution timeout this way:
The timeout is defined in seconds so set it appropriate for you.The httpRuntime element is located in system.web.