Posted on 2007-11-28
Medium Priority
Last Modified: 2013-11-23
We are running interbase 7.5 and loaded it onto a Vista machine. The interbase was loaded in a directory c:\borland\

When we use the BDE to connect to the GDB file and enter username and password a error

Unknown username or password appeard. We have checked the username and password and we are entering the correct one

Is it because we have to run interbase 2007 or is there a way to correct the error
Question by:Kevinfeening
LVL 13

Accepted Solution

rfwoolf earned 1500 total points
ID: 20371131
You say you are using the BDE to connect to the GDB file.
Are you doing this by way of Alias?

There are many issues with BDE and Vista.
Normally the BDE saves its settings in the registry, so you will need to run BDEadmin.exe, click Object -> Options, and select Save for use with Windows 3.1 and Windows 95/NT.
This causes settings to be saved in an INI file in your BDE directory.
What I do is I programmatically create my BDE alias at run-time, and delete it first if it exists. I also set LOCAL_SHARE to TRUE programatically. In this way it doesn't even matter where your settings are saved because they are recreated each time you run the program!

The first step is to run the bde (bdeadmin.exe) take a look around and see if your NET directory and your alias (if applicable) is showing and saved.
Set the Save for use to Windows 3.1 (INI files), and try again

Author Comment

ID: 20371200
Yes in the App I use a database and table then database I use an alias name

The BDE is setup to the GBD using the server name property and username is set

the NET Directory I changed from c: to c:\kevin (the directory exists)
The alias is showing in the BDE

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Watch the video to know the simple way to remove or recover or reset lost or forgotten passwords of Outlook PST file. With Kernel Outlook Password Recovery tool such operation is very easy to perform. It is a freeware with limitation to use with 500…

621 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