Discussion:
CR error
(too old to reply)
Yiannis H. Economides
2008-10-29 20:08:58 UTC
Permalink
Dear all

I have a customer using Windows Vista and my application.
Out of the blue when everything was working OK with reporting to Crystal
Reports (10) he get the following message

Error: OLE Dispatch Exception: Failed to load database information.
Details: The database DLL 'crdb_p2bbde.dll' could not be loaded.

or in some other cases :

Error: OLE Dispatch Exception: Logon failed.

Any ideas please of what may be cuasing this ?

Thanks

Yiannis
Geoff Wass [dBVIPS]
2008-10-30 04:50:40 UTC
Permalink
In article <***@news.alldbase.com>, ***@cytanet.com.cy
says...
Post by Yiannis H. Economides
Dear all
I have a customer using Windows Vista and my application.
Out of the blue when everything was working OK with reporting to Crystal
Reports (10) he get the following message
Error: OLE Dispatch Exception: Failed to load database information.
Details: The database DLL 'crdb_p2bbde.dll' could not be loaded.
Error: OLE Dispatch Exception: Logon failed.
Any ideas please of what may be cuasing this ?
Thanks
Yiannis
Yiannis,

I can only offer a wild guess. I would see if it DEP.

DEP (Data Execution Prevention) is a security feature of Windows XP
(after you get the latest Windows Update) and Windows Vista. It can
interfere with the operation of older versions of dBASE.

Ken Mayer has information about DEP at his site:

//www.goldenstag.net/dbase/

Christopher Neumann has instructions on how to deal with it:

http://howto.landisc.com/dep.html
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada

.|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
.|.|.| IT Consultant http://Geoff_Wass.com |.|.|.
Yiannis H. Economides
2008-10-30 20:30:31 UTC
Permalink
Lysander,
It was working for weeks, then suddenly it will not.

Geoff,
Thanks for the tip, maybe this is the eanser. I will check it out.

Yiannis
Post by Geoff Wass [dBVIPS]
says...
Post by Yiannis H. Economides
Dear all
I have a customer using Windows Vista and my application.
Out of the blue when everything was working OK with reporting to Crystal
Reports (10) he get the following message
Error: OLE Dispatch Exception: Failed to load database information.
Details: The database DLL 'crdb_p2bbde.dll' could not be loaded.
Error: OLE Dispatch Exception: Logon failed.
Any ideas please of what may be cuasing this ?
Thanks
Yiannis
Yiannis,
I can only offer a wild guess. I would see if it DEP.
DEP (Data Execution Prevention) is a security feature of Windows XP
(after you get the latest Windows Update) and Windows Vista. It can
interfere with the operation of older versions of dBASE.
//www.goldenstag.net/dbase/
http://howto.landisc.com/dep.html
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada
.|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
.|.|.| IT Consultant http://Geoff_Wass.com |.|.|.
Lysander
2008-10-31 09:36:52 UTC
Permalink
Post by Yiannis H. Economides
It was working for weeks, then suddenly it will not.
Then you should analyse which other programs are running.
Some Patches for XP and the complete Vista introduced a new security
mechanism.
This will deny multiple access to the same DLL if the access-token is
not the same.

It has to do with several "clients" (of a DLL) wanting to open the same
DLL with different access-rights.

A possible reason is if the customer has - for example - the CR designer
opened PLUS your report from the dBase application. Or 2 instances of
the dBase application, or 2 different dBase applications.
Yiannis H. Economides
2008-10-31 18:44:18 UTC
Permalink
Thank you for the info.
I am afraid none of the 3 reasons you mentioned exist.
It is really a pazzle !

Yiannis
Post by Lysander
Post by Yiannis H. Economides
It was working for weeks, then suddenly it will not.
Then you should analyse which other programs are running.
Some Patches for XP and the complete Vista introduced a new security
mechanism.
This will deny multiple access to the same DLL if the access-token is
not the same.
It has to do with several "clients" (of a DLL) wanting to open the same
DLL with different access-rights.
A possible reason is if the customer has - for example - the CR designer
opened PLUS your report from the dBase application. Or 2 instances of
the dBase application, or 2 different dBase applications.
Yiannis H. Economides
2008-11-01 11:00:38 UTC
Permalink
This is the actuall error message

Error: OLE Dispatch Exception: Failed to load database information.
Details: The database DLL 'crdb_p2bbde.dll' could not be loaded.

Yiannis
Post by Lysander
Post by Yiannis H. Economides
It was working for weeks, then suddenly it will not.
Then you should analyse which other programs are running.
Some Patches for XP and the complete Vista introduced a new security
mechanism.
This will deny multiple access to the same DLL if the access-token is
not the same.
It has to do with several "clients" (of a DLL) wanting to open the same
DLL with different access-rights.
A possible reason is if the customer has - for example - the CR designer
opened PLUS your report from the dBase application. Or 2 instances of
the dBase application, or 2 different dBase applications.
*Lysander*
2008-11-02 12:12:43 UTC
Permalink
Post by Yiannis H. Economides
Error: OLE Dispatch Exception: Failed to load database information.
Details: The database DLL 'crdb_p2bbde.dll' could not be loaded.
Yes. I saw this error in my installations also.
It always had to do with a System running XP/SP2 or higher, and with a
second application keeping the DLL open.

The p2bbde.dll is only a wrapper for the DLL in your BDE and not a
standalone driver.

You should analyse which other applications are probably blocking access
to the DLL.
If you have "fast user switching" turned on in XP, this also can hint to
a problem with user privileges.

Yiannis H. Economides
2008-10-30 20:30:38 UTC
Permalink
Lysander,
It was working for weeks, then suddenly it will not.

Geoff,
Thanks for the tip, maybe this is the eanser. I will check it out.

Yiannis
Post by Geoff Wass [dBVIPS]
says...
Post by Yiannis H. Economides
Dear all
I have a customer using Windows Vista and my application.
Out of the blue when everything was working OK with reporting to Crystal
Reports (10) he get the following message
Error: OLE Dispatch Exception: Failed to load database information.
Details: The database DLL 'crdb_p2bbde.dll' could not be loaded.
Error: OLE Dispatch Exception: Logon failed.
Any ideas please of what may be cuasing this ?
Thanks
Yiannis
Yiannis,
I can only offer a wild guess. I would see if it DEP.
DEP (Data Execution Prevention) is a security feature of Windows XP
(after you get the latest Windows Update) and Windows Vista. It can
interfere with the operation of older versions of dBASE.
//www.goldenstag.net/dbase/
http://howto.landisc.com/dep.html
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada
.|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
.|.|.| IT Consultant http://Geoff_Wass.com |.|.|.
Geoff Wass [dBVIPS]
2008-10-31 05:01:04 UTC
Permalink
Post by Yiannis H. Economides
Lysander,
It was working for weeks, then suddenly it will not.
Geoff,
Thanks for the tip, maybe this is the eanser. I will check it out.
Yiannis
Yiannis,

Let us know how it works out.
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada

.|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
.|.|.| IT Consultant http://Geoff_Wass.com |.|.|.
Lysander
2008-10-30 09:22:38 UTC
Permalink
Post by Yiannis H. Economides
Any ideas please of what may be cuasing this ?
Is it sometimes working, and some other times it does not?
Or does it now always fail at the same procedure/module/report?
Loading...