Hello
I express myself well and I am translating from Spanish to English
I have a problem, use delphi 7 + + 2.1 firebird zeos 6.6.1
this is the code that conectame to use a database:
zc2.Database:='D:\Prueba\NDocto\bdibx.fdb';
zc2.Password:='masterkey';
zc2.User:='SYSDBA';
ZC2.Protocol:='firebird-2.0';
zc2.Connect;
in the directory of my application I have files embedded:
fbclient.dll fbclient20.dll, ICU *.* firebird.msg ... etc.
if it started with my application server firebird I have no problem
connects but if I put the server marks the following error
SQL Error: unavailable database Error Code: -904
and I have already copied the files embedded in
system, and in system32 truth and nothing I have no idea already made many tests and nothing
someone you could help me?
Problem with zeos 6.6.1+ delphi 7+firebird 2.1
Moderators: gto, cipto_kh, EgonHugeist
Hello pmtzg!
Your error is probably caused by the way firebird 2 connects to databases.
Try setting the server property of TZConnection to 127.0.0.1 (in case of the server is you own machine).
It should work![Smile :)](./images/smilies/icon_smile.gif)
Concerning the DLLs, is better you place them only at the folder of your application. If Zeos can't find them, it will fire an error telling about it![wink ;)](./images/smilies/icon_wink.gif)
Y usted debe ser capaz de traducir este mensaje al español usando el google traductor. Como soy brasileño, puedo entender un poco de español![Smile :)](./images/smilies/icon_smile.gif)
Your error is probably caused by the way firebird 2 connects to databases.
Try setting the server property of TZConnection to 127.0.0.1 (in case of the server is you own machine).
It should work
![Smile :)](./images/smilies/icon_smile.gif)
Concerning the DLLs, is better you place them only at the folder of your application. If Zeos can't find them, it will fire an error telling about it
![wink ;)](./images/smilies/icon_wink.gif)
Y usted debe ser capaz de traducir este mensaje al español usando el google traductor. Como soy brasileño, puedo entender un poco de español
![Smile :)](./images/smilies/icon_smile.gif)
¡Ah! Por el Firebird Embedded, elimina esa opción HostName.
Prueba cambiar el nombre de la DLL original de firebird embedded (ñ de firebird normal) para firebirdd.dll Y eleger el protocolo firebirdd-2.0 en TZConnection
english
For firebird embedded, remove that option in HostName and try to change the name of DLL for firebirdd.dll and then change the protocol to firebirdd-2.0 at TZConnection. You should use the firebird embedded DLL, nor the normal one.
Prueba cambiar el nombre de la DLL original de firebird embedded (ñ de firebird normal) para firebirdd.dll Y eleger el protocolo firebirdd-2.0 en TZConnection
english
For firebird embedded, remove that option in HostName and try to change the name of DLL for firebirdd.dll and then change the protocol to firebirdd-2.0 at TZConnection. You should use the firebird embedded DLL, nor the normal one.