Subject Re: [IBO] How to work a connection Server W2K and stations W98?
Author Helen Borrie
At 09:21 PM 10/01/2004 +0000, you wrote:
>I placed a TIB_Connection in a Datamodule and in the event
>BeforeConnect of him placed the following code:
> with IB_Connection1 of the
> begin
> DatabaseName := GetFromRegistry
>(database); //C:\database\database.fdb
> Protocol:=cpTCP_IP;
> Server := GetFromRegistry(server); // 'server3';
> Password := GetFromRegistry(password); // masterkey
> Username := GetFromRegistry(username); // SYSDBA
> end;
>In a local machine or in the server the connection is accomplished,
>but when will I connect in a remote machine it doesn't connect, what
>can be missed? Using IBOConsole I get to connect, but not for my
>application in Delphi.

IBOConsole does its own, application-specific "registration" of databases
for its clients. Your application can't access that...

Does the remote client have 'server3' set up in its HOSTS file? (On Win98,
this file is in the c:\Windows directory.)

Have you tried pinging server3 from the command console of the client machine?