Problem with database drop connection
- From: "Gerhard Venter" <IeatSpam4breakfast@xxxxxxxx>
- Date: Thu, 7 Sep 2006 10:56:21 -0700
I have an ADOConnection that I check if it is still connected before I
execute a query. Well if the database drops the connection for whatever
reason, I found that when I check the connected property of the connection
it still shows Connected=True. I only get the message"Communication link
failure: Connection was terminated" once I execute the query but I need to
know before I execute or better when it actually happens so I can trap for
that.
Anybody know how to trap for disconnects initiated by the server side?
.
- Follow-Ups:
- Re: Problem with database drop connection
- From: Steve Zimmelman
- Re: Problem with database drop connection
- Prev by Date: Connection terminated by server problem
- Next by Date: Re: Connection terminated by server problem
- Previous by thread: Connection terminated by server problem
- Next by thread: Re: Problem with database drop connection
- Index(es):
Relevant Pages
|