Page 1 of 1
EIBCError - Unassigned Code
Posted: Thu 17 Mar 2011 22:12
by michaelJ
Hello,
what exactly causes the Error Message 'Unassigned Code'?
How I can get additional information about the Error-Message?
Background: I've changed a Project with the IBX-Migration Wizard.
Most of the code works fine, but in some cases I've got the EIBCError.
Where I can find information how the code has be changed going from IBX to IBDAC? Thank you very much for answer!
Michael
Posted: Fri 18 Mar 2011 11:06
by AndreyZ
Hello,
This error is generated by Firebird and it can occur in different situations. Mostly it occurs when you have a message file that doesn't match the database server. Also you can try using different Firebird versions and check if the problem persists.
Posted: Mon 30 Jan 2012 11:55
by josecarlos
I am having this problem, just after I upgrade to XE2 ( ibdac 4.1.4 ).
I have a machine running FB 2.5 and FB 1.5 ( this one as application ).
When I run my application with FB 2.5 it is ok, but if I try to connect to the FB 1.5 all query on the close event fires this 'Unassigned Code'.
It seems to be some Firebird issue, but it was working before, with the same firebird installation.
Cheers,
Jose Carlos.
Posted: Mon 30 Jan 2012 12:47
by AndreyZ
I cannot reproduce the problem. Please try creating a small sample to demonstrate the problem and send it to andreyz*devart*com . Also please specify the exact version of Firebird you are using. You can learn it from the Info sheet of TIBCConnection Editor.
Posted: Wed 22 Feb 2012 19:26
by josecarlos
I still have this problem, but only a customers is having this, all others are ok, the same configuration FB 2.5.1, IBDAC 4.1.4 and XE2 update 3
I am using Firebird 2.5.1 and Firebird 1.5.6 installed in my PC.
To have the same behavior I have to connect with FB 1.5 on my machine and I got this unsigned error on every form when I close the form.
If I connect with 2.5.1, everything works fine.
I find out that, if I commit the transactions on the form close I have no error. So with this CODE below, the unsigned error disappear.
Code: Select all
procedure TfrmProducts.FormClose(Sender: TObject;
var Action: TCloseAction);
var
idx : integer;
begin
for idx := 0 to ComponentCount - 1 do
begin
if Components[idx] is TIBCTransaction then
begin
if TIBCTransaction( Components[idx] ).Active then
TIBCTransaction( Components[idx] ).Commit;
end;
end;
end;
I think this error is related to the transaction, I usually handle myself the trasaction, and I have IBCconnection.autocommit = FALSE
And the IBCQuery.autocommit = true ( because it is the default value I never changed it ).
Am I doing something wrong?
Thanks in advance,
Jose Carlos.
Posted: Mon 27 Feb 2012 12:40
by AndreyZ
Unfortunately, I still cannot reproduce the problem. Please try creating a small sample to demonstrate the problem and send it to andreyz*devart*com .