Solved

Delphi error Unknown database. Alias

Posted on 2014-10-30
7
1,214 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi XE10, DigitalPersona Fingerprint reader and MySQL 6 335
Delphi 2 69
Need Help Delphi 2010 CheckBox1 Stored value in memo 13 72
Firemonkey BASS_Init into a thread 17 31
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

830 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