DelphiFAQ Home Search:

'Cannot find engine configuration file' error message (BDE config file)

 

comments9 comments. Current rating: 5 stars (4 votes). Leave comments and/ or rate it.

Question:

After installing an application, I get this error message:
'cannot find engine configuration file'

What does it mean and how can I correct it?

Answer:

That 'engine configuration file' is also referred to as the BDE's IDAPI configuration file. The BDE (Borland Database Engine) stores machine-specific settings there (not user-specific).

You can find the location of that file in the registry under:
HKEY_LOCAL_MACHINE\SOFTWARE\Borland\Database Engine\
It is stored there in key CONFIGFILE01.
A typical value would be:
C:\Program Files\Common Files\Borland Shared\BDE_D2\IDAPI32.CFG

Look if the path information is valid and if not, correct it.

If the path information seems valid and the file exists, then it could be that the file is corrupt. This can happen if the machine's BDE Administrator was running during installation. Under these circumstances, the BDE did not allow the installer to update the .CFG file. As a solution you may close the BDE Administrator and install again.

If you did not just install a new application and your IDAPI32.CFG is corrupt, you may try to create a new IDAPI32.CFG from scratch using the BDE Administrator. Or maybe take one from another machine on the network and adjust your machine specific settings e.g. temp file location.



Content-type: text/html

Comments:

2008-02-28, 12:44:17
anonymous from United States  
rating
I am having this same problem. The registry entry is correct, and file exists in the correct directory, and does not appear to be corrupt. But, when I try to run the BDEADMIN.EXE, I get:

'Exception EDBEngine in module BDEADMIN.EXE at 00054F92. Cannot find Engine configuration file.' - then Runtime error 216 at 0003399A.

What next?
2008-03-13, 07:36:58
anonymous from Romania  
I have two networks in two different places, connected thru a VPN, and two SQL servers. I tried to link a server, from one of network , to a PC from another network using in BDE the server's IP and I got 'Cannot find Engine configuration file'. The servers work separately OK. What can I do?
2009-01-07, 10:34:47
Harjeet from London, United Kingdom  
Hey thanks I was getting same sort of error message for ' Agent Impact ' Software and correcting the permissions on idapi32.cfg corrected the problem. Thanks a lot...
2009-01-25, 18:44:04   (updated: 2009-01-25, 18:45:32)
DavidB from United Kingdom  
rating
This is one of the more useful threads I have found on this topic. Using the guidance here, I was able to trace my problems, which were slightly different to those described above.

Basically, I was installing (my old version of) Delphi, and transferring settings from another machine on the network. What happened is that the installation of the BDE failed in some way; the .CFG file location key in the Registry (see above) was empty, and the C:\BDEUSERS folder was missing. Repopulating the key and copying the BDEUSERS folder from the source computer, along with the IPAPI32.CFG file I was transferring in any case, fixed the problems.

Obviously, to do this, I had to have the source files and to make sure that everything was saved in the same locations on the two computers.

Hope this is a useful addition to the thread.

David
2012-05-08, 06:25:39
anonymous from United States  
rating
2012-07-05, 16:14:42
TheGMan from United States  
rating
After some Googling, I came to this page. I had the same error as above, but still could not get bdeadmin.exe to work. My platform is Windows 7 64-bit. In order to get bdeadmin (version 5.1.1.1) to run, I had to modify this reg key, and increase the value of SHAREDMEMSIZE:

HKLM\Software\Wow6432Node\Borland\DatabaEngine\ Settings\System\INIT
'SHAREDMEMSIZE'='16384'

Otherher observations....the Borland installer installed to C:\Program Files by default.... I moved the BDEINST folder (and all contents) to C:\Program Files (x86). Modifiied the reg keys as well to make sure everything pointed to the new folder location. Hope this helps!
2013-04-09, 02:10:21
anonymous from Tuapse, Russian Federation  
I had this problem on a PC with Win7 64 bit. The user don't have administrative privileges on its computer. The registry key was OK and the file IDAPI32.CFG was OK, too. The decision that helped was to move the configuration file out of Program Filers (x86) to any other directory except system ones. And to this directory the user has all rights. After this step BDE started to work normally. it seems to me that the UAC somehow disturbs the normal work of the BDE.
By the way such strange behavior of the operating system isn't only with the BDE. Personally, I know another example in which the user program based on Visual FoxPro didn't see a dll library, which was set in the windows\system32 directory. Only moving it outside this directory resolved the problem.
2013-08-07, 08:21:10
anonymous from Norway  
I followed the steps in the thread but none of them helped me. It seems that my BDE isn´t working because it doesn´t see or recognise the IDAPI32 file in the BDE folder. Thus it creates a new config file in the C:\temp folder. And then when I try to change the configs it says that it 'Cannot write to engine configuration file' Error message: 8453.
Any ideas ?
Oh, and to Mr. Anonymous from Russian Federation, the reason your BDE wasn¨t working was because it was inside the (X86) folder. And when you try to connect to a delphi server with your BDE inside that folder, Delphi thinks that everything after the parenthesis is the directory. weird bug :P
2013-10-16, 08:18:11
zhalo05 from Colombia  
You can solve the problem by setting permission to the folder where is installed the bde
C:\Program Files\Common Files\Borland Shared\BDE

Assign all permission to users of computer. It works to me.

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: