Page 1 of 1

Error writing data to the connection

Posted: Wed 19 Aug 2015 20:37
by FredS
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;

Re: Error writing data to the connection

Posted: Fri 21 Aug 2015 08:20
by ViktorV
For investigation of this UniDAC behavior, please send the information needed for access to your server to viktorv*devart*com