Subject Re: [firebird-support] 'Invalid connection path' error msg
Author Helen Borrie
At 05:16 PM 17/05/2005 +0000, you wrote:
>I get 'Invalid connection path' error msg when I try to connect to an
>fdb across a TCP/IP local network connection.
>
>I can connect locally, but not across the network.
>I can connect to fdb across the network using IB_SQL.exe.
>I can read the users on the fdb across the network using a call to
>isc_database_info within my application.
>But when I try to connect to fdb with TIBODatabase (using the same
>connection path used in IB_SQL and isc_database_info) I get 'Invalid
>connection path'?
>
>Can anyone tell me whare I am going wrong?

IBO advice: use the Server, Path and Protocol properties of the
TIBODatabase or TIB_Connection, in preference to the Databasename
property. IB_SQL resolves the input connection string to these properties,
as does IBODatabase (as you would observe).

Server: localhost
Path: server-local path to the database (must be the absolute path, not a
share, etc.)
Protocol: cpTCP_IP

Connect your queries via the IB_Connection and (if applicable)
IB_Transaction properties and ignore Databasename.

Further IBO questions to the IBObjects list, please.

./heLen