pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedMS-Access connection with oracle via odbc loses connection after 12 minutes
4+ messages / 4 participants
[nested] [flat]
* MS-Access connection with oracle via odbc loses connection after 12 minutes
@ 2004-03-09 14:08 Liesbeth Van den Abeele <liesbeth.vandenabeele@atosorigin.com>
2004-03-09 23:43 ` Re: MS-Access connection with oracle via odbc loses connection scott.marlowe <scott.marlowe@ihs.com>
0 siblings, 1 reply; 4+ messages in thread
From: liesbeth.vandenabeele@atosorigin.com @ 2004-03-09 14:08 UTC (permalink / raw)
To: pgsql-odbc
MS Access client starts up. Connection with oracle databse via odbc is
activated and runs perfectly.
After 12 minutes, without an action in the client the the oracle
connection is closed.
Another access application on the same oracle server with the same
odbc driver runs well.
Why does the connection closes after 12 minutes?
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: MS-Access connection with oracle via odbc loses connection
2004-03-09 14:08 MS-Access connection with oracle via odbc loses connection after 12 minutes Liesbeth Van den Abeele <liesbeth.vandenabeele@atosorigin.com>
@ 2004-03-09 23:43 ` scott.marlowe <scott.marlowe@ihs.com>
0 siblings, 0 replies; 4+ messages in thread
From: scott.marlowe @ 2004-03-09 23:43 UTC (permalink / raw)
To: Liesbeth Van den Abeele <liesbeth.vandenabeele@atosorigin.com>; +Cc: pgsql-odbc
On 9 Mar 2004, Liesbeth Van den Abeele wrote:
> MS Access client starts up. Connection with oracle databse via odbc is
> activated and runs perfectly.
>
> After 12 minutes, without an action in the client the the oracle
> connection is closed.
>
> Another access application on the same oracle server with the same
> odbc driver runs well.
>
> Why does the connection closes after 12 minutes?
I don't know. Maybe you should ask this question on an Oracle mailing
list. Since this one is for Postgresql, it's unlikely you'll find the
expertise here to answer your question. but you never know.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: MS-Access connection with oracle via odbc loses connection after 12 minutes
@ 2004-03-10 06:58 Philippe Lang <philippe.lang@attiksystem.ch>
2004-03-10 15:39 ` Re: MS-Access connection with oracle via odbc loses connection Andreas <maps.on@gmx.net>
0 siblings, 1 reply; 4+ messages in thread
From: Philippe Lang @ 2004-03-10 06:58 UTC (permalink / raw)
To: pgsql-odbc; +Cc: Liesbeth Van den Abeele <liesbeth.vandenabeele@atosorigin.com>
Hello,
Search for a key in the registry called "ConnectionTimeout":
Here it is:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\ODBC]
"TraceODBCAPI"=dword:00000000
"DisableAsync"=dword:00000001
"TraceSQLMode"=dword:00000000
"QueryTimeout"=dword:0000003c
"LoginTimeout"=dword:00000014
"ConnectionTimeout"=dword:00000258 <---- HERE
"TryJetAuth"=dword:00000001
"FatBlastRows"=dword:ffffffff
"FatBlastTimeout"=dword:00000003
"AsyncRetryInterval"=dword:000001f4
"AttachCaseSensitive"=dword:00000000
"FastRequery"=dword:00000000
"ODBCISAMAttach"=dword:00000000
"PreparedInsert"=dword:00000000
"PreparedUpdate"=dword:00000000
"SnapshotOnly"=dword:00000000
"AttachableObjects"="'TABLE','VIEW','SYSTEM TABLE','ALIAS','SYNONYM'"
By default, this value is set to 258. Set it to 0, and you won't be disconnected anymore. The reason why the other application does not disconnect is a bit strange, but we could imagine some kind of keep-alive built into the application.
Philippe
-----Message d'origine-----
De : pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] De la part de Liesbeth Van den Abeele
Envoyé : mardi, 9. mars 2004 15:09
À : pgsql-odbc@postgresql.org
Objet : [ODBC] MS-Access connection with oracle via odbc loses connection after 12 minutes
MS Access client starts up. Connection with oracle databse via odbc is activated and runs perfectly.
After 12 minutes, without an action in the client the the oracle connection is closed.
Another access application on the same oracle server with the same odbc driver runs well.
Why does the connection closes after 12 minutes?
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: MS-Access connection with oracle via odbc loses connection
2004-03-10 06:58 Re: MS-Access connection with oracle via odbc loses connection after 12 minutes Philippe Lang <philippe.lang@attiksystem.ch>
@ 2004-03-10 15:39 ` Andreas <maps.on@gmx.net>
0 siblings, 0 replies; 4+ messages in thread
From: Andreas @ 2004-03-10 15:39 UTC (permalink / raw)
To: Philippe Lang <philippe.lang@attiksystem.ch>; +Cc: pgsql-odbc; Liesbeth Van den Abeele <liesbeth.vandenabeele@atosorigin.com>
Philippe Lang schrieb:
>Hello,
>
>Search for a key in the registry called "ConnectionTimeout":
>[...]
>
>By default, this value is set to 258. Set it to 0, and you won't be disconnected anymore. The reason why the other application does not disconnect is a bit strange, but we could imagine some kind of keep-alive built into the application.
>
>
[...]
It is an issue with Access that has long tradition.
Access stalled if this happend regardless of the server dbms.
A user had to kill Access with the taskmanager.
Someone sugested to have an invisible form that has a timer to ping the
db-server every 5 minutes or so.
AFAIK it is a Jet bug and got fixed in the last update of the Jet-db engine.
Look für Jet update revision 8.
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2004-03-10 15:39 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-03-09 14:08 MS-Access connection with oracle via odbc loses connection after 12 minutes Liesbeth Van den Abeele <liesbeth.vandenabeele@atosorigin.com>
2004-03-09 23:43 ` Re: MS-Access connection with oracle via odbc loses connection scott.marlowe <scott.marlowe@ihs.com>
2004-03-10 06:58 Re: MS-Access connection with oracle via odbc loses connection after 12 minutes Philippe Lang <philippe.lang@attiksystem.ch>
2004-03-10 15:39 ` Re: MS-Access connection with oracle via odbc loses connection Andreas <maps.on@gmx.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox