Error in initializing BDE: $2108 when deploying Delphi App

Giganews Newsgroups
Subject:Error in initializing BDE: $2108 when deploying Delphi App
Posted by: Shobha Choudhari
Date:Fri, 25 Jun 2010

I developed a database application using Delphi 2010 and MS ACCESS 2007 database with Borland Database Engine. When I deployed it on the target computer (Win XP) having MS Office 2007 and ran my app, it displayed an error message: Error in initializing BDE: $2108.

I used InstallAware software for deployment. Using InstallAware, I added registry entry for HKEY_LOCAL MACHINE|SOFTWARE|BORLAND|DATABASE ENGINE from my computer. I also created USer DSN for my database on the target machine.  But the deployment software doesn't add this registry entry in the target machine. so, when I run my program, I get above  error message.  Any idea, why it doesn't add the registry entry?  Do I need to make any more changes in a registry to let it this entry add?  Do I need to use an
y runtime package? I unchecked the runtime package in Delphi.
Thanks.

Replies