Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BDE crashes while two BDE applicatin are running

472 views
Skip to first unread message

Changsong Bu

unread,
Aug 16, 2002, 11:37:50 AM8/16/02
to

We've seen this happening from time to time. Two BDE applications are running fine, until at one point BDE crashes, sometimes with the error message like, "An error has occured while attempting to initialize the Borland Database Engine (Error $210C).

It is probably not accurate when I said "Two BDE Applications", since the first applicatin uses multiple DLLs and each DLL will be BDE related. But certainly the total number of applications (and DLLs) are within the limit of 48. The second DLL does nothing except than connecting to a Database Alias, and disconnecting from it. Then it sleeps for 5 seconds, and connects to the database again, and so on. After looping for sometime, the BDE will fail.

I tried all I can to trace the error, but with all the debugging information everything seems fine.

Any idea? Please help.

Thanks a lot.

Changsong

changsong Bu

unread,
Aug 16, 2002, 11:39:53 AM8/16/02
to

Changsong Bu

unread,
Aug 16, 2002, 3:56:36 PM8/16/02
to

Bill:
Thanks a lot for the information. I went to check my computer and there were several copies of IDAPI32.DLL. I did what you suggested. It solved a long time error on my machine: I could not open BDE while any BDE application was running. I had thought that it is the way supposed to be.

However, the previous problem still occured. No descriptive error message, except that my application had a error and had to shut down, stuff like that. Maybe my test application (which simply opens a DB, closes it, then sleeps for 5 minutes. so on...) IS the one that is causing the problem. Is it possible that the time is too short for the BDE to repsond and close the connection? I will try to extend the waiting time and see what will happen.

I do appreciate your input and it really helps a lot.

Bill Todd <bi...@notthis.dbginc.com> wrote:
>$210C is "trying to load multiple IDAPIxx.DLL". Search your hard drive
>for IDAPI32.DLL. If you have more than one you may have more than one
>version of the BDE on your system. Get rid of all of the BDE files
>except the ones pointed to by the DLLPath registry entry under
>HKEY_LOCAL_MACHINE\Software\Borland\Database Engine.
>
>On 16 Aug 2002 08:37:50 -0700, "Changsong Bu" <changs...@ps.ge.com>
>wrote:

Bill Todd

unread,
Aug 16, 2002, 4:56:39 PM8/16/02
to
Sorry but I am not sure which problem is "the previous problem". Do
you mean that you still get the $210C error? If you are still having
probelms please explain exactly what is happening now.


--
Bill (TeamB)
(TeamB cannot respond to questions received via email)

Changsong Bu

unread,
Aug 19, 2002, 8:33:37 AM8/19/02
to

Bill: Sorry about the confustion. What I meant in previous
mesasge is that BDE crashing still happened when 2 BDE
applications were running after certain amount of time, but no descriptive error message was given, except a dialog showed up
telling me that one of the applications ecountered error and had to be shutdown. I suspected that my testing application was
causing the problem, which simply opens a DB, closes it, sleeps
for 5 seconds (not 5 minutes in the last message), and again....

I did try extending the sleeping time, and the two applications
ran through the weekend without error. Maybe my suspection is right that the previous sleeping time was too short for the BDE
to acutally closes all the resource?

Thanks a lot.

Bill Todd

unread,
Aug 19, 2002, 2:04:47 PM8/19/02
to

On 19 Aug 2002 05:33:37 -0700, "Changsong Bu" <changs...@ps.ge.com>
wrote:

>


>Bill: Sorry about the confustion. What I meant in previous
>mesasge is that BDE crashing still happened when 2 BDE
>applications were running after certain amount of time, but no descriptive error message was given, except a dialog showed up
>telling me that one of the applications ecountered error and had to be shutdown. I suspected that my testing application was
>causing the problem, which simply opens a DB, closes it, sleeps
>for 5 seconds (not 5 minutes in the last message), and again....
>
>I did try extending the sleeping time, and the two applications
> ran through the weekend without error. Maybe my suspection is right that the previous sleeping time was too short for the BDE
>to acutally closes all the resource?

I suppose it is possible. I don't have anything else to suggest.

0 new messages