Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Delphi error Unknown database. Alias

Posted on 2014-10-30
7
Medium Priority
?
1,734 Views
Last Modified: 2014-12-03
I have one application in delphi 5 and 3 computers on my network. I have to change one desktop, and now after the installation of the application I´m receiving the error attached.
image001.png
0
Comment
Question by:Jose Bredariol
  • 4
  • 2
7 Comments
 
LVL 36

Assisted Solution

by:ste5an
ste5an earned 501 total points
ID: 40414176
Well, it's an BDE error. Have you installed it?
0
 
LVL 28

Accepted Solution

by:
Sinisa Vuk earned 999 total points
ID: 40415143
Besides installed BDE - you should add ODBC/BDE alias/link to database file.
0
 

Author Comment

by:Jose Bredariol
ID: 40415347
Yes, I installed BDE on this machine. How can I create this ODBC/DBE alias. My database is .mdb and is located on my server.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:Jose Bredariol
ID: 40419300
How can I add ODBC/BDE alias/link to database
0
 
LVL 28

Assisted Solution

by:Sinisa Vuk
Sinisa Vuk earned 999 total points
ID: 40419399
Look at small tut - how to set BDE alias:
http://www.dbasehost.com/tutorials/mysql4.php
Mdb file is a ms access database - and you should know how app connect to odbc/bde.
Your alias name is SociosAccess (from you picture). If your app use Ado components then you need to set ODBC alias only (maybe is this a case):
- in odbc administrator - under system tab - click Add
- locate Microsoft Access Driver (*.mdb) and select
- fill under Data Source Name: SociosAccess
- click on select and browse for mdb file somewhere (shared/maped folders)
- click ok - and that should be all for odbc

(if you use TQuery, TTable components (BDE) in app - you should do besides odbc - changes in BDE too)
0
 

Author Comment

by:Jose Bredariol
ID: 40440675
Nothing yet.  What changes i have to do using TQuery ?
0
 

Author Closing Comment

by:Jose Bredariol
ID: 40478650
Thanks all
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

971 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