Subject | Re: [IBO] IBO + FB Embedded |
---|---|
Author | hamacker |
Post date | 2014-02-26T13:44:25Z |
Hi Andrei, in the past I had similar problem with IBO.
Try Servername = '';The version of IBO that I had, if Servername <> '' login fails everytime in embeded version.
Login as sysdba, but password any - it's not important for embeded.I do that:
MyConn.Close;
MyConn.Params.Clear;
MyConn.Server:='';
MyConn.Path:='c:\dados\database.fdb';
MyConn.Protocol:=cpLocal;
MyConn.CharSet:='ISO8859_1';
MyConn.SQLDialect:=3;
MyConn.Username:='SYSDBA';
MyConn.Password:='asdsdaasdsad';
MyConn.ForcedWrites:=dpbDefault;
MyConn.KeepConnection:=true;
MyConn.ReservePageSpace:=dpbDefault;
MyConn.SweepInterval:=0;
MyConn.LoginPrompt:=false;
try
MyConn.Connect;
MyConn.Close;
MyConn.Params.Clear;
MyConn.Server:='';
MyConn.Path:='c:\dados\database.fdb';
MyConn.Protocol:=cpLocal;
MyConn.CharSet:='ISO8859_1';
MyConn.SQLDialect:=3;
MyConn.Username:='SYSDBA';
MyConn.Password:='asdsdaasdsad';
MyConn.ForcedWrites:=dpbDefault;
MyConn.KeepConnection:=true;
MyConn.ReservePageSpace:=dpbDefault;
MyConn.SweepInterval:=0;
MyConn.LoginPrompt:=false;
try
MyConn.Connect;
(...)
Do not use subst drives or network map, its does not work with any version of FB.2014-01-16 0:44 GMT-02:00 Andrei Luís <compuvale.software@...>:
Hi,I'm trying to run an application with IBO and FB Embedded.- the application is OK, tested with FB server.- I shut down the FB service- I copied gds32.dll (tryied with fbclient.dll too), firebird.conf and firebird.msg to the .exe folder.- I'm using the following parameters to connect:Username:='SYSDBA';
Password:='masterkey';Database:='CLINICA.FDB';Protocol:=cpLocal;I always got ISC ERROR CODE 335544375 unavailable database. Tested with IB_SQL.exe, and got the same error.What am I doing wrong?[]s
Andrei