OnConnectionLost event does not fire

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 2
Joined: Fri 23 Feb 2007 14:54

OnConnectionLost event does not fire

Post by sGingter » Fri 16 Nov 2007 13:23

I actually have the problem, that the OnConnectionLost event of the TMSConnection does not fire.

Is there anything I have to configure for this event to execute?

Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Mon 19 Nov 2007 09:49

Please check whether you set the LocalFailover option of TMSConnection to True.
The OnConnectionLost also does not occur when connection is lost on data fetch in FetchAll=False mode.

Post Reply