ZEOSLIB and Firebird 2.5 embedded - Error 904
Posted: 24.05.2014, 06:48
Hello,
I try to connect to a Firebird-DB with Delphi 2010, ZEOS 7.0.4 stable and Firebird 2.5.2 embedded. Using superserver works fine. For embedded server I copied the needed Dlls to the directory of my application and changed connection-settings in Delphi (remove hostname=localhost).
The connection looks like this:
When I connect to the Database I get the error
SQL Error: unavailable database. Errorcode -904. Unsucessful execution caused by an unavailable resource
After searching hours in Firebird -forums now I try to find any help here
Thanks!
I try to connect to a Firebird-DB with Delphi 2010, ZEOS 7.0.4 stable and Firebird 2.5.2 embedded. Using superserver works fine. For embedded server I copied the needed Dlls to the directory of my application and changed connection-settings in Delphi (remove hostname=localhost).
The connection looks like this:
Code: Select all
object ZConnection1: TZConnection
ControlsCodePage = cCP_UTF16
UTF8StringsAsWideField = True
Properties.Strings = (
'AutoEncodeStrings=ON'
'controls_cp=CP_UTF16')
TransactIsolationLevel = tiReadCommitted
DesignConnection = True
AfterConnect = ZConnection1AfterConnect
SQLHourGlass = True
Port = 0
Database = 'D:\Delphi2010\Projekte\BISAM_SQL\Database\BISAM_SQL.FDB'
User = 'sysdba'
Password = 'masterkey'
Protocol = 'firebirdd-2.5'
SQL Error: unavailable database. Errorcode -904. Unsucessful execution caused by an unavailable resource
After searching hours in Firebird -forums now I try to find any help here
Thanks!