Page 1 of 1

Unknown ISC error 0

Posted: Tue 27 Mar 2012 15:25
by Fabrice
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

Posted: Tue 27 Mar 2012 16:04
by Fabrice
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 !

Posted: Wed 28 Mar 2012 12:13
by AndreyZ
We fixed such problem in IBDAC 4.1.5 , please try using it and check if the problem persists.

Re: Unknown ISC error 0

Posted: Wed 03 Oct 2012 20:29
by pincopallino
I'm suffering from the same identical problem! With Unidac 4.5.9
There something that I can do?
Thanks

Re: Unknown ISC error 0 [solved]

Posted: Thu 04 Oct 2012 18:34
by pincopallino
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.

Re: Unknown ISC error 0

Posted: Fri 05 Oct 2012 10:18
by ZEuS
Thank you for the information.
We are investigating the problem and will inform you when we have any results.