Re: [Microsoft][ODBC SQL Server Driver]Timeout expired"
From: Dan Guzman (guzmanda_at_nospam-online.sbcglobal.net)
Date: 11/20/04
- Next message: Alexis Robles: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Previous message: David Portas: "Re: HELP!!How will u use SQL server for unstructured information analy"
- In reply to: Alexis Robles: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Next in thread: Alexis Robles: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Reply: Alexis Robles: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Reply: Alexis Robles: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 20 Nov 2004 12:17:09 -0600
The 'invalid connection string attribute' informational error is due to the
extraneous 'OPEN=ODBC' specification. Try removing it:
DATABASE=AFM_CALLISTO;DSN=AFM_CALLISTO
I don't know what API you are using but the default command timeout is 30
seconds. In the case of ADO, you can specify a longer interval with the
CommandTimeout command object property. Specify 0 for unlimitted. You
might also consider query/index tuning to speed up the query and also check
for blocking.
-- Hope this helps. Dan Guzman SQL Server MVP "Alexis Robles" <AlexisRobles@discussions.microsoft.com> wrote in message news:4A6C5752-A705-40CC-81B7-8FAAF54F2AE8@microsoft.com... > Here is the connection string: > > OPEN=ODBC;DATABASE=AFM_CALLISTO;DSN=AFM_CALLISTO; > > "Dan Guzman" wrote: > >> Please post your connection string. >> >> -- >> Hope this helps. >> >> Dan Guzman >> SQL Server MVP >> >> "Alexis Robles" <AlexisRobles@discussions.microsoft.com> wrote in message >> news:9F8B08B1-26CF-4601-8457-C7E810149812@microsoft.com... >> > Could anyone help? >> > >> > "Connection failed: >> > SQLState: '01S00' >> > SQL Server Error: 0 >> > [Microsoft][ODBC SQL Server Driver]Invalid connection string attribute >> > Connection failed: >> > SQLState: 'S1T00' >> > SQL server Error: 0 >> > [Microsoft][ODBC SQL Server Driver]Timeout expired" >> > >> > Thanks in advance >> >> >>
- Next message: Alexis Robles: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Previous message: David Portas: "Re: HELP!!How will u use SQL server for unstructured information analy"
- In reply to: Alexis Robles: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Next in thread: Alexis Robles: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Reply: Alexis Robles: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Reply: Alexis Robles: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|