Question

Locked

Timeout problem in ado.net

By vijkushwaha ·
How we can avoid timeout in ado.net command execution

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Either adjust the timeout parameters, or

by robo_dev In reply to Timeout problem in ado.ne ...

investigate if the server response time is adequate for your application.

You should note that the SqlConnection.ConnectionTimeout is the time allowed to establish a connection, and the SqlCommand.CommandTimeout is the time allowed to return data from a query or complete a data operation.

You should make sure your application is closing each connection that it opens, or you may create resource issues on your database server.

Back to Software Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums