Error writing data to the connection

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

Error writing data to the connection

Post by FredS » Wed 19 Aug 2015 20:37

Hi,

I get this error when trying to close my app but only when connected to FB3-RC1 server running on Azure Ubuntu. I cannot reproduce with a local FB3-RC1 server or embedded.

madExcept:

Code: Select all

exception class    : EUniError
exception message  : Error writing data to the connection.

main thread ($3cc):
00dd7cf4 +034 PA.exe Uni                      HandleInternalError
00dda0f3 +023 PA.exe Uni                      TUniConnection.DoDisconnect
007f145a +0ba PA.exe Data.DB                  TCustomConnection.SetConnected
00d8d4e4 +194 PA.exe DBAccess                 TCustomDAConnection.SetConnected
007f1391 +011 PA.exe Data.DB                  TCustomConnection.Close
01fc2d38 +058 PA.exe MainFrm          1350 +6 TMainForm.FormCloseQuery
The code checks for Connected:

Code: Select all

  if CanClose and DataDM.uniCon.Connected then 
  begin
    OptionsCheckBrowseMode; // Sometimes OnExit isn't fired when you close the app
    DataDM.uniCon.Close;
  end;

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Error writing data to the connection

Post by ViktorV » Fri 21 Aug 2015 08:20

For investigation of this UniDAC behavior, please send the information needed for access to your server to viktorv*devart*com

Post Reply