Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

interface mismatch

Status
Not open for further replies.

levogiro

Programmer
Apr 30, 2001
50
BR
hi,

i'm trying to run my system and getting this message from Delphi:

"Project Agent_Ped.exe raised exception class EDBnegineError with message 'interface mismatch. Engine version different.'"

if someone knows what could it be, please help me.

thanks,

levogiro.
 
hi,

i think two versions (different ones) from the BDE.
Search your disk for bdeadmin.exe there should only be one file or if there are more files all of the same version.

Steph
 
thanks, but there's only one BDEAdmin.exe...but when I tried to run BDE Administrator form Control Panel it didnt' run.
 
This usually means that you are running a program compiled with a nice new version of Delphi, which therefore requires a nice new version of BDE; but the version of BDE on the machine running the prog is old.

Check the version of BDEAdmin; Delphi 5 comes with BDEAdmin 5.01. If you have an earlier version of BDEAdmin, then you also have an earlier version of the BDE as a whole installed; and your prog won't run. Of course, each Delphi version has a different requirement for minimum BDE version. Old Delphi programs will run fine with new BDE, but not vice versa.

Get a BDE update at:
-- Doug Burbidge mailto:doug@ultrazone.com
 
hi,

thanks for you help; i re-installed Delphi e it worked fine.

the only thing that bothers me is this problem ocurred after i installed crystal reports and i need this software to work.
 
Hmm; it sounds like Crystal Reports toasted some file that the BDE needed to work, replacing it with an earlier version. You could try installing Crystal Reports then Delphi; or you could try installing Delphi, then Crystal Reports, then the BDE upgrade I listed above.

Of course, you may wind up in a situation where installing Crystal Reports breaks Delphi/BDE, and installing Delphi or BDE breaks Crystal Reports, in which case it's time to run around in very small circles, shouting incoherently. -- Doug Burbidge mailto:doug@ultrazone.com
 
hi,

Older version of crystal report also use the BDE. It has something to do with de ideapi32.cfg. The versions of crystal report use that file (or a similar file) also. If you install crystal again you will end up with the same problem. Try to upgrade your crystal report version. Or do it the hard way search for ideapi*.cfg. You will find one for the BDE an one for Crystal. Try to get rid of the crystal BDE version. You have to look in the registry for some paths. the only one i can remeber is the configfile01.

Steph
 
Hmm; Borland documentation mentions IDEAPI32.DLL as being the magic file:
Maybe that's the file you're remembering, Steph?
It sounds like either of the solutions I suggested above will work; Crystal Reprts is just blatting in its old version of the BDE over the top of Delphi's, so installing Delphi after Crystal Reports, or doing a BDE upgrade after Crystal Reports installation, should both work. Crystal Reports should be happy with the newer version of the BDE, as BDE is designed to be backwards compatible for almost everything. -- Doug Burbidge mailto:doug@ultrazone.com
 
Just wanted to add to the earlier comment regarding using Help | About to check the version of the BDE Administrator. Remember that only reports the version of the BDE ADministrator itself, which has not changed recently.

You can determine the actual BDE version you're using (assuming that BDE Admin is working properly), but it takes a bit of work. For complete details, please see
If the BDE ADministrator isn't working for you, you may be able to use Explorer to check the datestamps of the core IDAPI DLL's. Navigate to \Program Files\Borland\Common Files\BDE and then locate IDAPI32.DLL.

In older versions of BDE (5.1.1 and earlier), it was common to set the time to reflect the version number. Thus, the date stamp of a 5.1.1. IDAPI/SQL Link DLL would be something along the lines of 11/12/99, 5:11:00 am. However, it appears that convention was not followed in the most recent version, which appears to have been updated 5/10/01, 5:00:00pm.

(Personally, I suspect the engineer who delivered that version may not have been aware of the timestamp convention.)

In any event, the most recent version is 5.2.0.2 and can be download from Borland's site. Be sure to choose the version appropriate for the tool you're updating. For example, if you're using an application that uses the SQL Links, grab the Enterprise edition. If you're not sure, start with the Professional.

Hope this helps...

-- Lance
 
thanks everybody.

i reinstalled crystal reports and it seems to be working fine.

thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top