Re: [Microsoft][ODBC SQL Server Driver]Timeout expired"
From: Alexis Robles (AlexisRobles_at_discussions.microsoft.com)
Date: 11/20/04
- Next message: AnthonyThomas: "Re: Database Design & Normalization Question"
- Previous message: Adam David Moss: "Rebuilding Active/Active Cluster..."
- In reply to: Dan Guzman: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Next in thread: AnthonyThomas: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Reply: AnthonyThomas: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Reply: Dan Guzman: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 20 Nov 2004 11:13:07 -0800
It didn't connect when I remove 'OPEN=ODBC'
"Dan Guzman" wrote:
> 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: AnthonyThomas: "Re: Database Design & Normalization Question"
- Previous message: Adam David Moss: "Rebuilding Active/Active Cluster..."
- In reply to: Dan Guzman: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Next in thread: AnthonyThomas: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Reply: AnthonyThomas: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Reply: Dan Guzman: "Re: [Microsoft][ODBC SQL Server Driver]Timeout expired""
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|