while updating MS_SQL query from VB its giving message like this "Timeout Expired"
timeout expired
Collapse
X
-
Originally posted by skdeshwhile updating MS_SQL query from VB its giving message like this "Timeout Expired"
Check whats the default timeout that is set. Then increase it accordingly. Also are you able to execute the query on the query analyzer sucessfully or does it throw a time out exception.
good luck
-ansuman sahu -
Originally posted by ansumansahuHi ,
Check whats the default timeout that is set. Then increase it accordingly. Also are you able to execute the query on the query analyzer sucessfully or does it throw a time out exception.
good luck
-ansuman sahu
From Query Analyzer its work but from Updating thru VB its giving this errorComment
-
-
Hi,
U must have connected to the database using ADO Objects. Change the ADO Connection object's ConnectionTimeo ut to some higher value:
[code=vb]
AConn.Connectio nTimeout = 200
[/code]
If executing query on Command Object then change :
.CommandTimeout
REgards
VeenaComment
Comment