Re: timeout error
From: Dan Guzman (danguzman_at_nospam-earthlink.net)
Date: 08/10/04
- Next message: Rick Sawtell: "Re: Which system stored proc?"
- Previous message: Mingqing Cheng [MSFT]: "RE: Newsgroup for SQL 2005?"
- In reply to: Mac Vazehgoo: "timeout error"
- Next in thread: Mac Vazehgoo: "Re: timeout error"
- Reply: Mac Vazehgoo: "Re: timeout error"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 9 Aug 2004 21:53:19 -0500
You can set the CommandTimeout property of the ADO Command or Connection
object, depending on which you are using to execute the query. The default
is 30 seconds.
-- Hope this helps. Dan Guzman SQL Server MVP "Mac Vazehgoo" <mahmood.vazehgoo@unisys.com> wrote in message news:cf99f1$thi$1@si05.rsvl.unisys.com... > When I run my application with a rather large database, I get 'timeout > expired' error. > The SQL version is 2000 and all defaults are set for sp_configure > parameters. > > I have no problem running via QueryAnalyzer (it takes a while). But the > application is the one that gets timed out. > The application code does not set any timeout parameter. It uses ADO for > the connection and query. > > Any idea what I need to set in the application to behave like the QA ? > > TIA > Mac > >
- Next message: Rick Sawtell: "Re: Which system stored proc?"
- Previous message: Mingqing Cheng [MSFT]: "RE: Newsgroup for SQL 2005?"
- In reply to: Mac Vazehgoo: "timeout error"
- Next in thread: Mac Vazehgoo: "Re: timeout error"
- Reply: Mac Vazehgoo: "Re: timeout error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|