Solved

Delphi error Unknown database. Alias

Posted on 2014-10-30
7
1,033 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 32

Assisted Solution

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

Accepted Solution

by:
Sinisa Vuk earned 333 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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

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

Assisted Solution

by:Sinisa Vuk
Sinisa Vuk earned 333 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

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…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now