Reputation: 9872
Here's the situation:
A user of our program suddenly started receiving an error from the Borland Database Engine (BDE) when attempting to start the application. The error message says that it was unable to initialize the BDE and gives error code $251e. User is on BDE 5.2.0.2.
I cannot find any official documentation on the error $251e. The only somewhat useful hit I can get on Google is not very instructive and the suggestion there does no good.
Here are some things that we have tried / discovered:
The user has been temporarily allowed to use the one workstation admin account that actually works, but this is not an acceptable long-term solution. Any idea where we might go from here? Any clue as to what $251e really means?
I know that the BDE is way out of date and no longer supported, but changing the use of the BDE is not an option right now.
Upvotes: 4
Views: 16676
Reputation: 156
Looks like the path somehow caused the problem.
I solved it by renaming the folder containing project files.
Upvotes: 0
Reputation: 1
You can also Try to rename the Executable file name, had the same problem, I know it sounds strange but it worked for me.
Upvotes: 0
Reputation:
If your executable is with the tables (same directory), try putting it in another location.
Upvotes: 0
Reputation:
Wow, I tried a lot of tactics to try and solve this problem, and it was the same. Compatibility mode. Disabled the compatibility mode and the problem is gone for good.
Upvotes: 0
Reputation: 9872
After using www.fulltextsearch.com to read through hundreds of messages regarding 251e (thanks for the pointer KevinRF), we came up with a list of about a half-dozen new things to try.
Turns out the user had turned on compatibility mode (right-click exe file, choose Properties, Compatibility tab) for the program in question. Turning compatibility mode off for the application resolved the error.
Thanks to all for the suggestions!
Upvotes: 1
Reputation: 2846
look on codegear's web site. some time ago i saw an article about the memory layout for this shared memory and ways to resolve a problem like this. it's an ugly business but there was a good article on this. sorry, i can't find it offhand.
Upvotes: 0
Reputation: 13562
I am not sure, because I don't use BDE for lot's of years, but here are some hints and links:
Error $251E means "Insufficient shared memory available"
Proposed solutions:
Upvotes: 3
Reputation: 602
You might have better luck searching for the error here..
http://www.fulltextsearch.com/
A common culprit seems to be a conflicting device driver.
Good luck
Upvotes: 4