hi,
we have a some issues with firebird when we have lan problems or firebird service is down
with message "access violation" ,this message still appears even if we resolve the lan problems
is there a way to check firebird server service is running ? or disconnect form the database when firebird service is down ?
( using zeos 7.0.3, lazarus 1.14 , firebird 2.5.1)
thanks ;
how to check firebird server service is running ?
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
Re: how to check firebird server service is running ?
Hi,
this is true. Zeos actually does'nt handle connection lost issues. This is planned on 7.3 (my idea). You could Ping the server and use the code in a try .. except block (i'm not a fan of it since it slows down the compiled apps a bit).
TZConnection.DbcConnection.Ping
this is true. Zeos actually does'nt handle connection lost issues. This is planned on 7.3 (my idea). You could Ping the server and use the code in a try .. except block (i'm not a fan of it since it slows down the compiled apps a bit).
TZConnection.DbcConnection.Ping
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
- Sergiomaster
- Fresh Boarder
- Posts: 24
- Joined: 13.06.2011, 12:37
Re: how to check firebird server service is running ?
Hello ,
I ran also in that issue (wifi out of range) .
my workaround was first to use the TZConnection.DbcConnection.Ping (i saw also yesterday a TZConnection.DbcConnection.Pingserver difference ?)
but the time out seems to be too long . I use François Piette ICMP unit instead (only one unit of his ICS component suite found here http://www.overbyte.be/frame_index.html)
Serge
I ran also in that issue (wifi out of range) .
my workaround was first to use the TZConnection.DbcConnection.Ping (i saw also yesterday a TZConnection.DbcConnection.Pingserver difference ?)
but the time out seems to be too long . I use François Piette ICMP unit instead (only one unit of his ICS component suite found here http://www.overbyte.be/frame_index.html)
yearn to see itThis is planned on 7.3 (my idea).
Serge
Main uses Delphi3/7/2010/Rio 10.3/Sidney 10.4 + Interbase/Firebird