views:

2236

answers:

2

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?

+3  A: 

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:

Marshall Fryman
This seems to have fixed it. Changing the SharedMemLocation in the BDE Administrator has stopped the phone ringing from this particular client. Thanks Marshall.
Alister
+2  A: 

This article covers that exact topic:

http://www.stockblocks.com/support/bde/vista_bde_configuration.htm

Nick Hodges