Subject Re: [IBO] Re: Connection problems next
Author Helen Borrie
At 02:51 AM 3/06/2006, you wrote:
>Thanks to Helen and Rita.
>
>I create an alias in the aliases.conf :
>cocagneFC = c:\DataCocagne\BDCOCAGNE_PLC.FDB
>
>and wrote the following code in my app :
>
> with IB_Connection1 do
> begin
> ...
> Path := 'cocagneFC';
> .....
>but it does not seem to be correct. So either I am particularly dumb
>or there's something I don't know.
>How is the alias name entered in the path ?

Exactly as you have it, that is correct.

In the IDE, please delete the DatabasePath value
or change it to a "friendly" token value, e.g.
'cfc'. If you have ever typed anything into it
manually, IBO will have stored it in the DFM.

It would help if you could tell us the error code
and message that you see when the connection
fails. If cpLocal doesn't work, there are two possible causes:

1) you are actually running Classic on the new
server. cpLocal does not work with Classic at all.

2) The "local" client on that machine is
actually a Connexion Bureau à distance client, or
some other kind of VPN client. On this setup you
*must* use cpTCP_IP for the protocol, and include
a Server. The 'localhost' server also might not
work, in which case you must *know* the network
node name OR the IP address of that machine and use that.

Furthermore, my advice is that you should never
deploy an application for InterBase, or for
Firebird versions lower than v.2.0 that uses
cpLocal *unless* the application is intended to
be run with the embedded server as its client.

Helen