Subject | Re: [ib-support] Connecting to server with Delphi |
---|---|
Author | Helen Borrie |
Post date | 2002-12-19T15:00:17Z |
At 03:32 PM 19-12-02 +0100, you wrote:
1. set up a TCP/IP host entry in the remote clients HOSTS file, pointing
to the IP address of the server, e.g.
196.12.13.1 testserver
You'll find HOSTS in c:\Windows. If it's not there, create one by copying
the sample file hosts.SAM and renaming to HOSTS (no suffix).
2. use the server name in the connect string, e.g.
testserver:D:\pathto\yourdatabase.fdb
Run the installation program on the client, choosing "Client-only
install". Some registry entries are required, which will be written there
by the installation program.
heLen
>I am using Delphi6 and TIBDatabase1 to connect to Firebird. When I runThat's because the client can't find the server. You need to
>it locally, there is no problem. I now want to connect to Firebird on
>the server.
>
>I have set the correct path for the database (don't know why, but I
>expected it to be more complicated!). But when I run the program from a
>user test client computer, I get the error message "cannot attach to
>password database".
1. set up a TCP/IP host entry in the remote clients HOSTS file, pointing
to the IP address of the server, e.g.
196.12.13.1 testserver
You'll find HOSTS in c:\Windows. If it's not there, create one by copying
the sample file hosts.SAM and renaming to HOSTS (no suffix).
2. use the server name in the connect string, e.g.
testserver:D:\pathto\yourdatabase.fdb
>On the development client computer, with full installation of Delphi,That's not enough.
>Interbase, Firebird, etc., there is no problem about connecting. But all
>I have done with the user test client machine (W98) is to copy gds32.dll
>to C:/Windows/System. What else is required?
Run the installation program on the client, choosing "Client-only
install". Some registry entries are required, which will be written there
by the installation program.
heLen