Subject Re: Conncting to server via network
Author benmarron
--- In IBObjects@y..., "Florian Hector" <FHector@w...> wrote:
> I am trying to use my application with IB server and the DB file on
a
> different machine in a local network. On the machine where the app.
resides,
> I have IB client installed, the application uses cpTCP_IP as
protocol, path
> is left empty for the user to specify when the app is running.
> Now, when I start the program, I immediately get the error:
>
> 335544721
> Unable to complete network request to host "tower",
> Failed to establish a connection
>
> an then again the same error when actually trying to connect to the
database
> after specifying the location
>
> What have I not thought of?
>
> Florian


Did you specify a server name an a database name for the connection ?

Syntax is 'ServerName:DatabaseName'.

For example, to connect to the database 'd:\some path\my database' on
server 'tower' with the TIB_Connection 'Connection', you must
specify :

Connection.DatabaseName := 'tower:d:\some path\my database';

Bernard