Subject | How to work a connection Server W2K and stations W98? |
---|---|
Author | Juarez A. Mendes |
Post date | 2004-01-10T21:21:37Z |
Hello!!!
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.
I thank your help
Juarez
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.
I thank your help
Juarez