Connection terminated by server problem
- From: "Gerhard Venter" <IeatSpam4breakfast@xxxxxxxx>
- Date: Thu, 7 Sep 2006 10:50:16 -0700
I have found something strange. I have an ADOConnection component that
before I execute a query check if it is still connected. Well when the
database terminates abnormal or is stopped or for what ever reason, when I
read the connected property of the ADOConnection it still shows
connected=true and then only when I executes the query I get the
"Communication link failure: Connection was terminated" error. But I need to
know even before I execute or better trap it when it happens.
How can I trap that kind of disconnects with ADOConnection?
.
- Follow-Ups:
- Re: Connection terminated by server problem
- From: Steve Zimmelman
- Re: Connection terminated by server problem
- From: Jackson Gomes - Tools&Comps
- Re: Connection terminated by server problem
- Prev by Date: Re: Dynamic SQl & Delphi
- Next by Date: Problem with database drop connection
- Previous by thread: Dynamic SQl & Delphi
- Next by thread: Re: Connection terminated by server problem
- Index(es):
Relevant Pages
|