0

Possible Duplicate:
BDE initialization failure (error $2501) on Vista

These days our client keep encountering the BDE issue with error code $2501 when trying to open two instances of application share the same alias

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

But if close one of them, or just open one instance, the issue's gone.

And I've try to configure the SHAREMEMSIZE & SHAREMEMLOCATION, but with no luck the issue still there.

Any idea to get around it?

Community
  • 1
  • 1
Leo.W
  • 299
  • 1
  • 7
  • 21
  • 2
    see http://stackoverflow.com/questions/866485/bde-initialization-failure-error-2501-on-vista Looks like a duplicate of that – David Heffernan Aug 23 '12 at 16:47
  • Thanks for your remind, @Heffernan, I've read that post, but they are not the same question, my application works fine under XP, W2k, Vista or even Windows 7, but it failed only when two or more instances are running at the same time – Leo.W Aug 24 '12 at 18:01
  • @todofixthis, can you help to re-open this question? It's not the same with that post you listed – Leo.W Aug 24 '12 at 18:03
  • 1
    Edit your question to indicate how your issue is different and then flag it so that a moderator can re-open it. –  Aug 24 '12 at 19:27

1 Answers1

7

Our Paradox/BDE-based software is running on have several thousand networked, five or so users/installation in different cities and companies

We've seen the dreaded $2501 error on several dozen of them over the past few years.

SHAREDMEMSIZE=4096 and SHAREDMEMLOCATION=0x5BDE have always worked for us to get past this error.

So, take heart! The BDE is still alive, even more than a decade since it was last updated.

Should we all move on to a more modern platform? YES!

Are many of us frustrated by the shortcomings of its LocalSQL, etc.? YES!

Are many of us impressed that it still works at all? YES!

Are many of us stuck maintaining legacy code that would be too expensive to migrate to a new database? YES! (heavy sigh)

RobertFrank
  • 7,332
  • 11
  • 53
  • 99