Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Deploying with Packages, Error $2108

edited October 2012 in General
When I upgraded to Delphi XE, I ran into an issue not being able to
compile ReportBuilder using the standard Tee Chart supplied with
Delphi. I was instructed that I would have to compile using packages
and that would allow the application to compile. It did, but now I am
trying to deploy to another machine, and the application is having an
error on startup.

In the project options, I have removed all the packages except:
TeeUI;Tee;

So I copy the .bpl's needed as indicated by missing files when the
application starts, but now I get the following message:

An error occurred while attempting to initialize the Borland Database
Engine (error $2108).

Am I still missing a bpl? How can I fix this?

--

Comments

  • edited October 2012
    Hi David,

    The error generally indicates that the application cannot find the BDE
    files it needs to run. This means that you either do not have the BDE
    installed on the target machine or perhaps it cannot access the proper
    files. Be sure your application has access to the necessary BDE files.
    You can also try re-installing BDE on the deployment machine and see
    if that solves the problem.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2012
    Hi Nico.

    I am not familiar with using Packages. This is my first time trying to
    deploy with packages. I use NexusDB and to my knowledge do not need
    the BDE, but maybe my application somewhere inadvertently makes
    reference to it somewhere.

    I do not want to install the BDE on my customers' computers. How do I
    find out what package files are needed for the BDE that would allow my
    application to run the way it did when I compiled without packages?


  • edited October 2012
    Hi David,

    If you are using Nexus, the application should not need to access the
    BDE. Check the uses clause of your application and be sure there are no
    references to the BDE. Also be sure there are no BDE specific
    components on any of your forms/data modules. In RB, the daDBBDE file
    would try to access the BDE.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2012
    Is there a list somewhere of what units require the BDE?

    I use DB because I use persistent fields, and I use DBGrid. Is that ok?


  • edited October 2012
    Issue resolved. Thanks for the feedback. The problem was I had a unit
    calling DBTables which somehow I did not pickup with Grep. Must have
    been tired and mistyped or something. Also, I had a line that was
    setting session passwords for password protected tables. Works now.
    Thank you.
This discussion has been closed.