Discussion:
Error loading dbf driver
(too old to reply)
Eliseo
2008-09-24 11:47:28 UTC
Permalink
I get the error: "Database Engine Error: Cannot load driver."

The error occours when I open a second dbplus application that use the
standard DBF file type.

The first application, that has no problems, uses three type of databases:
Firebird, MS Access and DBF.

I cannot avoid to use the three types of databases because I need to
interface among them.

In one test to run first the the second application the error is always on
the apllication that is open for second.

Have you an idea to help me?

Thanks
Eliseo
Lysander
2008-09-24 12:43:28 UTC
Permalink
Post by Eliseo
Have you an idea to help me?
Yes. I bet you are using XP/SP2 and have one of the latest updates, _OR_
even SP3. MS blocked "dirty" simultaneous access to DLLs.

You have it for example also when you are doing mailmerge letters with
MS Word.

There's a workaround that - as far as I know - has always worked.
If one of the applications is using ODBC to access the DBF, then you can
use the VFP driver instead of the dBase driver. That will use another DLL.

Or, instead of your (spanish?) version of the ODBC driver you can use
the english version. This, also, will use another DLL.
Eliseo
2008-09-24 13:51:19 UTC
Permalink
Thanks : I am Italian.

However after a lot of tests I have relized that if the form order starts
with the "DBF" file then it works.
If the firsts accesses are the MSacces and Firebird then it cannot load the
driver.
I do not know why but .... it seems to be enough.
The other strange thing is that in the IDE sometimes it runs but the exe
gives the error.

I am using XP sp2.
The sp3 is still wating for my OK to be installed.

What is the VFP driver?

Ciao
Eliseo
Post by Lysander
Post by Eliseo
Have you an idea to help me?
Yes. I bet you are using XP/SP2 and have one of the latest updates, _OR_
even SP3. MS blocked "dirty" simultaneous access to DLLs.
You have it for example also when you are doing mailmerge letters with MS
Word.
There's a workaround that - as far as I know - has always worked.
If one of the applications is using ODBC to access the DBF, then you can
use the VFP driver instead of the dBase driver. That will use another DLL.
Or, instead of your (spanish?) version of the ODBC driver you can use the
english version. This, also, will use another DLL.
Lysander
2008-09-24 14:47:57 UTC
Permalink
Post by Eliseo
Thanks : I am Italian.
ah yes, sorry... was mixing that up.
Post by Eliseo
What is the VFP driver?
Take a look at your list of installed ODBC drivers (by executing the
ODBC-Administrator ODBCAD32.exe, or by calling "ODBC" from your BDE-Admin).

You will most likely also see "microsoft foxpro VFP driver (*.dbf)".

The best alternative, though, is to use another localized/international
version of the dBase DBF driver by Microsoft
Eliseo
2008-10-06 07:07:01 UTC
Permalink
Dear Lysander
I'm sorry but your solution does not like me.
The problem is that I do not use the ALIAS in the DBE for the dbf file.
This because the small file is used only to contain the initial
configuration.

If the problem is not soved I need to change my used method to start the
exe (like using a txt file).

Ciao
Eliseo
Post by Lysander
Post by Eliseo
Thanks : I am Italian.
ah yes, sorry... was mixing that up.
Post by Eliseo
What is the VFP driver?
Take a look at your list of installed ODBC drivers (by executing the
ODBC-Administrator ODBCAD32.exe, or by calling "ODBC" from your BDE-Admin).
You will most likely also see "microsoft foxpro VFP driver (*.dbf)".
The best alternative, though, is to use another localized/international
version of the dBase DBF driver by Microsoft
Loading...