BDE initialization failure (error $2501) on Vista
Asked Answered
P

4

8

I have a small datasnap server written in Delphi 2007 that accesses the BDE. It works fine on Windows 2000 and XP but from time to time (actually quite regularly) on Vista I get the error message:

An error occurred while attempting to initialize the Borland Database Engine (error $2501)

Closing everything down that uses the BDE fixes the error (although you sometimes need to "End Process" the datasnap server to close it).

This is becoming rather annoying as more and more of our clients are running Vista for their "server". Does anyone have any suggestions?

Paleolithic answered 15/5, 2009 at 0:10 Comment(1)
It can also be helpful (particularly on Windows 10) to save the BDE configuration to a user accessible file (BDE Administrator|Object|Save As)Paleolithic
I
8

You haven't mentioned if you've tried adjusting the virtual memory settings. BDE error 2501 is an "insufficient virtual memory" error. Some articles that may help:

Ideo answered 15/5, 2009 at 0:54 Comment(2)
This seems to have fixed it. Changing the SharedMemLocation in the BDE Administrator has stopped the phone ringing from this particular client. Thanks Marshall.Paleolithic
The second link is dead.Experimental
C
1

Andy's answer link to www.torry.net is for some $30 software package that "claims" to fix BDE errors. I'd comment on it, but I don't have the reputation points. (...but someone else could...) The link doesn't work, but if you search for "BDE Setting" you'll probably find it. I can find no evidence or reviews that it works. Download unsigned exe's at your own risk... (I'll pass)

Consonance answered 3/6, 2015 at 18:57 Comment(0)
B
1

the resolution for the error is by increasing the shared memory available for the BDE.

enter image description here

Bio answered 19/12, 2017 at 10:47 Comment(0)
M
-3

I've found full solution for each Pc on x64 systems.

BDE-Setting x64 v.3.15

http://www.torry.net/news.php?id=262

Millford answered 19/2, 2014 at 10:22 Comment(2)
Please do not provide link-only answers as the external content may change or disappear. Would you edit your answer to include a summary and keep the link as a reference?Liddie
torry link is staleExperimental

© 2022 - 2024 — McMap. All rights reserved.