Solved

Delphi error Unknown database. Alias

Posted on 2014-10-30
7
1,301 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 34

Assisted Solution

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

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
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!

 

Author Comment

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

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
Correct Component for Shopping Cart. 2 136
Delphi Form ownership 4 160
Delphi inherited method 6 89
How to Get Images From Server using App Tethering 11 53
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

710 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