Unknown ISC error 0

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Fabrice
Posts: 45
Joined: Tue 07 Sep 2010 09:44

Unknown ISC error 0

Post by Fabrice » Tue 27 Mar 2012 15:25

Hello,

I have the error "Unknown ISC error 0" in Forms.TApplication.ProcessMessage;
With last version of Firebird 2.5.1.26351 32 or 64 bits on Windows XP and 7.
With Ibdac 4.1.4 and Delphi Pro 2010.

When I close a Tform which containing a TibcQuery and a TIBCTransaction.
All is auto closed = I doesn't use manual close of my query and transaction !


object IBTransactionMAJ: TIBCTransaction
DefaultConnection = MyConnection
Params.Strings = (
'read_committed'
'rec_version'
'nowait')
DefaultCloseAction = taCommitRetaining
Left = 592
Top = 80
end


This errors only occurs when database connexion use local/direct protocol connexion :
Like this : MyConnection = TibCConnection
MyConnection.server='';
MyConnection.database='c:\data\mybase.fdb';

I have no problem with :
MyConnection.server='localhost';
MyConnection.database='c:\data\mybase.fdb';

Fixed in 4.1.5 ?

Best regards,
Fabrice

Fabrice
Posts: 45
Joined: Tue 07 Sep 2010 09:44

Post by Fabrice » Tue 27 Mar 2012 16:04

More informations if I do :

procedure TFormMyForm.FormCloseQuery(Sender: TObject; var CanClose: Boolean);
begin
...
try
if IBTransactionMAJ.active then
begin
IBCTransactionMAJ.commitretaining;
IBCTransactionMAJ.active:=false;
end;

except

end;

...
end;

I have no problem !

AndreyZ

Post by AndreyZ » Wed 28 Mar 2012 12:13

We fixed such problem in IBDAC 4.1.5 , please try using it and check if the problem persists.

pincopallino
Posts: 16
Joined: Wed 03 Oct 2012 19:52

Re: Unknown ISC error 0

Post by pincopallino » Wed 03 Oct 2012 20:29

I'm suffering from the same identical problem! With Unidac 4.5.9
There something that I can do?
Thanks

pincopallino
Posts: 16
Joined: Wed 03 Oct 2012 19:52

Re: Unknown ISC error 0 [solved]

Post by pincopallino » Thu 04 Oct 2012 18:34

I traced the code to a line of UniDac where a comment said that this is a bug of VCL so I solved closing the connection in the TForm.Destroy method.

ZEuS
Devart Team
Posts: 240
Joined: Thu 05 Apr 2012 07:32

Re: Unknown ISC error 0

Post by ZEuS » Fri 05 Oct 2012 10:18

Thank you for the information.
We are investigating the problem and will inform you when we have any results.

Post Reply