Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ConnectionTimeout

Status
Not open for further replies.

Kendel

Programmer
Apr 24, 2002
1,512
US
ASP, IIS6

Set con = Server.CreateObject("ADODB.Connection")
con.ConnectionTimeout = 10
con.CommandTimeout = 10
con.cursorlocation=3

strConnection = "DSN=blab ...;uid=...;pwd=...."
con.Open strConnection

These timeout setting don't work. My query run for 15 seconds and it's not time out. How can I override the timeout on the server? Thanks.

How do I know what version of ASP of the app?



 
Set con = Server.CreateObject("ADODB.Connection")
con.ConnectionTimeout = 10
con.cursorlocation=3

Set cmd = CreateObject("ADODB.Command")
cmd.CommandTimeout = 10


This didn't work either. Does anyone know why??? thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top