Subject RE: [IBO] TIB_Connection does not use Local Conection ?
Author Alan McDonald
> Hi everybody.
>
> I migrate from IBO 4.3a to 4.8.7, and now my TIB_Connection
> does open if Local Conection is selected.
>
> I try this example :
> with IB_Connection1 do
> begin
> Connected:=false;
> Databasename:='c:\dados\jade\admin1.fdb';
> Protocol:=cpLocal;
> Server:='localhost'; // or empty
> Username:='SYSDBA';
> Password:='masterkey';
> try
> Open;
> except
> on e:exception do
> begin
> Application.MessageBox(Pchar(e.message), 'Error :',0);
> end;
> end;
> end;
>
> In previous version of IBO (4.3a) this code runs OK, but fail
> on IBO 4.8.7 returning the message error "unavaliable
> database". To workaround I set protocol to TCP_IP and runs fine.
>
> cpLocal was dropped or code missing ?

No but try it with an embeded server as the client. I suspect your app has
only access to the normal client.
Alan