Subject Re: [IBO] Cannot open file "". The system cannot find path specified.
Author Helen Borrie
At 02:25 AM 25/01/2011, paul.coshott wrote:


>Hi,
>
>thanks for the help. Can you tell me where I should copy the files to?

On the client machine. But just *where* depends on which version of Windows the client runs on. There's a long article on the subject in the Installation document for Fb 2.1.

On the host machine, too, of course!! But if you installed Firebird from the v.2.1.3 kit, the installer should have taken care of it, if needed.


>I don't have a TIB_Connection component on my main form at the moment. Should I?

Do you have a descendant class (TIB_Database or TIBODatabase)?

>And if so, what properties do I set for TcpIp connections?

The following properties of your TIB_Connection or descendant:

Server property: network node name of the host machine. On Windows this is normally the same as the "Windows name" of the host machine.

Path property: The path *native on the host machine*, e.g., c:\companydata\companyDB.fdb. NB, far better to use an alias (in aliases.conf) and provide that as the Path property.
e.g. (in aliases.conf)
CoDB = c:\companydata\companyDB.fdb
and (in Path, enter CoDB).
Note, that path can NOT be a network path.

Protocol property: cpTcp_ip

Don't use the DatabaseName property: IBO will fill it automatically (and correctly) with the proper connection string for the protocol. Alternatively, you can put a "friendly name" in there. (IBO will still make the correct connection string but it won't overwrite your friendly name.)

Clear out anything that is sitting in the Params property of your connection component.

Helen