EIBCError - Unassigned Code

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
michaelJ
Posts: 30
Joined: Thu 13 Jan 2011 16:11

EIBCError - Unassigned Code

Post by michaelJ » Thu 17 Mar 2011 22:12

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

AndreyZ

Post by AndreyZ » Fri 18 Mar 2011 11:06

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.

josecarlos
Posts: 36
Joined: Sat 30 Jul 2011 18:35
Location: Brazil
Contact:

Post by josecarlos » Mon 30 Jan 2012 11:55

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.

AndreyZ

Post by AndreyZ » Mon 30 Jan 2012 12:47

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.

josecarlos
Posts: 36
Joined: Sat 30 Jul 2011 18:35
Location: Brazil
Contact:

Post by josecarlos » Wed 22 Feb 2012 19:26

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.

AndreyZ

Post by AndreyZ » Mon 27 Feb 2012 12:40

Unfortunately, I still cannot reproduce the problem. Please try creating a small sample to demonstrate the problem and send it to andreyz*devart*com .

Post Reply