Timeout problem in

By vijkushwaha ·
How we can avoid timeout in command execution

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Either adjust the timeout parameters, or

by robo_dev In reply to Timeout problem in ...

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.

Related Discussions

Related Forums