mrtrevena
asked on
SQL timeouts in VB6
Hello,
I want to change the default timeouts for SQL 7.
My choices are:
1. Change the connection string
2. Change it inside of VB6
I use ADODB connection objects to connect to the database.
I've tried doing a command like gcnn.CommandTimeout = 120, but it always seem to timeout after 30 seconds (the default)
Any ideas?
Malcolm
I want to change the default timeouts for SQL 7.
My choices are:
1. Change the connection string
2. Change it inside of VB6
I use ADODB connection objects to connect to the database.
I've tried doing a command like gcnn.CommandTimeout = 120, but it always seem to timeout after 30 seconds (the default)
Any ideas?
Malcolm
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You're welcome!
ASKER
Good call ont he command object timeout.
That solved the problem!
I was having one of the crap days when you get stuck in lots and lots of meetings and constantly putting out fires.
Nice to have an annoying problem solved by someone else.
Thanks alot!
Malcolm