Deploying with Packages, Error $2108
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?
--
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?
--
This discussion has been closed.
Comments
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.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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?
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.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I use DB because I use persistent fields, and I use DBGrid. Is that ok?
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.