Re: Connection terminated by server problem
- From: "Steve Zimmelman" <skz@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 8 Sep 2006 08:50:49 -0500
Here's what we came up with.
http://www.skzimmelman.com/Articles/skzADOConnKeepAlive.html
It's been live in an enterprise company for about a year.
-Steve-
"Gerhard Venter" <IeatSpam4breakfast@xxxxxxxx> wrote in message
news:450068da$1@xxxxxxxxxxxxxxxxxxxxxxxxx
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?
.
- References:
- Connection terminated by server problem
- From: Gerhard Venter
- Connection terminated by server problem
- Prev by Date: Re: Problem with database drop connection
- Next by Date: Re: From TTable to TADOTable
- Previous by thread: Re: Connection terminated by server problem
- Next by thread: Problem with database drop connection
- Index(es):
Relevant Pages
|