IN MY SQL CONNECTION STRING I WAS MENTION CONNECTION TIME OUT IS 500. MY SQL PROCEDURE WAS RUNNING 45 SECONDS ONLY IN QUERY ANALYZER. ITS RUN ON DOT NET PROGRAM THEN CONNETION TIME OUT ERROR WAS COMMING.
Software/Hardware used:
DOT NET 2005 WITH SQL SERVER 2000
ASKED:
April 21, 2010 4:53 AM
UPDATED:
April 21, 2010 4:41 PM
Is this error occurring when executing the stored procedure, or when connecting to the database ?
The connection timeout property defines the time to wait when establishing the database connection, and it does not affect the execution of commands when the connection is already open.
BTW, 500 seconds are more than 8 minutes, and that is too much time to wait for a database connection.