?
Solved

How to extend the System DSN timeout period

Posted on 2004-09-04
3
Medium Priority
?
2,030 Views
Last Modified: 2012-06-27
Hi Experts

My ODBC driver  (called in ASP) is timing out  my queries before they're done (their statistical queries on lots of data, and take about 3 to 4 minutes to run), but I can't see anywhere in the ODBC config snapin to set the timeout period. Can you help?

(MS SQL 2000)
0
Comment
Question by:metalaureate
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
jdlambert1 earned 2000 total points
ID: 11980523
Try manually setting your command timeout:

Set Db = Server.CreateObject("ADODB.Connection")
Db.CommandTimeout = 600 'in seconds, 600 = 10 minutes
0
 
LVL 15

Expert Comment

by:jdlambert1
ID: 11980526
Sorry, meant to say try setting the ASP timeout, as opposed to an ODBC timeout.
0
 

Author Comment

by:metalaureate
ID: 11980535
No, you were right the first time. .CommandTimes=600 does the trick.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question