Page 1 of 1

UniDac Firebird database error on app close

Posted: Sat 24 Jun 2017 17:35
by stevel
Running on:
UniDAC: 7.0.2
Delphi: 10.2 Tokyo, Win32 VCL app
Database: Firebird 3.0.2 server accessed via TCP/IP connection (fbclient.dll)

When closing my app (running in Debug mode in the IDE), I get the following error:
---------------------------
Debugger Exception Notification
---------------------------
Project xxxxxxxxx.exe raised exception class EIBCError with message 'cannot disconnect database with open transactions (1 active)'.
---------------------------
Break Continue Help
---------------------------
followed by this dialog box:
---------------------------
Error
---------------------------
Runtime error 217 at 007CA25C
---------------------------
OK
---------------------------
If there is anything that can be done (in code) to avoid this error please write here.

Re: UniDac Firebird database error on app close

Posted: Mon 26 Jun 2017 15:51
by ViktorV
Unfortunately, we could not reproduce the problem.
In order to get a detailed answer, please compose a small sample demonstrating the issue and send it to us using the contact form https://www.devart.com/company/contactform.html including scripts for creating and filling database objects.

Re: UniDac Firebird database error on app close

Posted: Mon 26 Jun 2017 23:38
by FredS
stevel wrote: Debugger Exception Notification
---------------------------
Project xxxxxxxxx.exe raised exception class EIBCError with message 'cannot disconnect database with open transactions (1 active)'.
---------------------------
Break Continue Help
If there is anything that can be done (in code) to avoid this error please write here.
Check the TUniConnection.DefaultTransaction.DefaultCloseAction, its default is taRollback.
Also TUniConnection.Autocommit, default for FB is True.

Re: UniDac Firebird database error on app close

Posted: Fri 30 Jun 2017 13:59
by ViktorV
Thank you for the information. We have reproduced the issue and investigation is in progress. We will inform you when we have any results.