Solved

Delphi error Unknown database. Alias

Posted on 2014-10-30
7
1,153 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 33

Assisted Solution

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

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
ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

 

Author Comment

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

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

821 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