Solved

DBD Alias Problem

Posted on 1997-05-14
6
223 Views
Last Modified: 2011-09-20
I seem to have lost the ability to create aliases with data base desktop (All I use is D1 - my shop uses Win 3.11)
When I try to run through an aias creation, I get the following actions/results:
Alias -> new alias -> newaliasname/Standard/some path  -> keep new -> OK -> <Dialog box> OK to save Public Aliases
to c:\idapi\idapi.cfg? -> Yes ->
<Dialog box> Cannot find Engine configuration. -> OK

C:\idapi\idapi.cfg is there, and I have certainly created aliase earlier. But, after working with other things for awhile, and coming back, I get this "Cannot find Engine configuration" complaint, and the cfg file is not rewritten.
Database Engine Configuration doesn't seem to save anything either - aliases created in DBEC don't cause any complaints, they just don't get written to the table.
0
Comment
Question by:dkerr051497
  • 3
  • 2
6 Comments
 
LVL 2

Expert Comment

by:javiertb
ID: 1336232
Did you trie to do it with BDE Configuration Program and not within DataBase Desktop?
When you have finished creating the alias click Save as... menu option and give the complete path where idapi.cfg is allocated.
After this, try restarting Windows and open BDE Configuration Program again to check if your alias is still there.
I've been experiencing some troubles with BDE but now everything works fine. Maybe yours it's another kind of problem.
Let me know the results.
0
 
LVL 2

Accepted Solution

by:
icampbe1 earned 100 total points
ID: 1336233
You have to make sure that the Win.INI file is pointin to the same file as you think you are using.

[IDAPI]
DLLPATH=D:\IDAPI
CONFIGFILE01=D:\IDAPI\IDAPI.CFG

Otherwise you are just doing a local save and it isn't being used by the engine.

Hope this helps.

Cheers,
Ian C.
0
 

Author Comment

by:dkerr051497
ID: 1336234
Win.ini looks good. Idapi.cfg is showing only the 'a' file flag, yet when I use Database Engine Configuration, and tell it to rewrite idapi.cfg, it doesn't. If I use save as, and use a different name, it will do a save. If I use save as, and try to save as c:\idapi\idapi.cfg, it asks if I want to replace the original, but then it doesn't.
S'wierd, no?
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 2

Expert Comment

by:icampbe1
ID: 1336235
Hi again,  When you say that Win.INI looks good, I assume that you mean the file path and name are OK.  Somewhere in the back of my mind I seem to remember that the BDE must not be loaded or any app that uses the engine.  Maybe if you do a fresh system start and then make the config changes before anything is busy, the changes will take effect.

You didn't say if you also have Delphi 2 or 3 on your system.

Let me look more closely at my system's config.

0
 

Author Comment

by:dkerr051497
ID: 1336236
Delphi 1 (16 bit).
Yes, the idapi section in Win.ini looks just as prescribed(except for c:\ drive. . .).
When I write to a different destination (save as someother.fil), leave say dbengine configuration, and then start it up again, and load the newly saved file (someother.fil), the additions I just made are NOT included (no new alias).
What I think I will do now is to reload BDE and IDAPI from the cd, see if anything comes from so simple an effort.
I'll let you know, yeah or nay . . .
DK

0
 

Author Comment

by:dkerr051497
ID: 1336237
Don't know what C means - to me it means thanks for the hand-holds. I solved the problem, in a kludgey kinda way. I reinstalled bde several times, using both the D2 CD and the original D1 CD - no help. same symptoms as above every time.
Forgive me, but then I read the read me - it mentions copying the idapi cfg file straight from the CD/runimage. Of course, this kills all my hooks -- other aliases and odbc data gone, but I should be able to rebuild it. Just reloading the program would not replace my idapi.cfg file. At any rate, for the nonce, dbe and DBEC work okay.
Again, thanks for your interest. . .
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question