Re: Help: inappropriate OLEDB timeout:



ODBC does not have a way to set this in the datasource, the calling program
has to set this. You ODBC driver may have a way to set a default but most
don't.

--
Matt Neerincx [MSFT]

This posting is provided "AS IS", with no warranties, and confers no rights.

Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"Erland Sommarskog" <esquel@xxxxxxxxxxxxx> wrote in message
news:Xns96D1F1A4354FDYazorman@xxxxxxxxxxxx
> Pat (Pat@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
>> Can I change the CommandTimeout via the ODBC admin or regedit or can it
>> only be chaned in program code. I have this problem with MS Access as
>> well.
>
> If you are using ODBC and want to know how to change the timeout for ODBC
> you may want to ask in an ODBC forum.
>
> For ADO, I don't think this can be changed in any other way that by
> changing CommantTimeout on the connection object.
>
> Whether Access has any options for this, I don't know. You should
> ask in Access forum about this.
>
>
>
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
>
> Books Online for SQL Server SP3 at
> http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
>


.



Relevant Pages

  • Re: Help: inappropriate OLEDB timeout:
    ... > Can I change the CommandTimeout via the ODBC admin or regedit or can it ... If you are using ODBC and want to know how to change the timeout for ODBC ... you may want to ask in an ODBC forum. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ...
    (microsoft.public.data.oledb)
  • SQL Server ODBC Driver Ignores Authentication Setting
    ... set their ODBC connections with SQL Server Authentication, ... Microsoft Data Access Components 2.6 RTM, ... authentication to log into the database. ...
    (microsoft.public.sqlserver.security)
  • RE: [ODBC SQL Server Driver][Shared Memory]ConnectionWrite (send()
    ... the ODBC source using named pipe, but I don't know how to enable named pipes ... If it is not working I am going to use ado to connect to sql server. ... Microsoft Online Community Support ...
    (microsoft.public.sqlserver.connect)
  • Re: Strange Problems with ODBC connection to SQL Server
    ... When accessing Jet data, use DAO. ... This way you are not exposing connection information in clear ... >accesses an SQL Server 2000 repository via ODBC data source. ...
    (microsoft.public.data.odbc)
  • Re: [PHP] ODBC and long text fields
    ... We've a PHP app that uses ODBC to talk to a MS SQL server. ... The internal code for a query is ...
    (php.general)