Einzelnen Beitrag anzeigen

Benutzerbild von arbu man
arbu man

Registriert seit: 3. Nov 2004
Ort: Krefeld
1.108 Beiträge
 
Delphi 7 Professional
 
#1

Mit Firebird Embedded DB arbeiten

  Alt 6. Aug 2007, 15:10
Datenbank: Firebird • Version: 1.5 • Zugriff über: Zeos 6.6.1 Beta
Hallo,

ich möchte mit Delphi eine kleine Datenbankanwendung Realisieren, dazu wolle ich den Firebird Embedded Server verwenden. Ich habe mir die Firebird-1.5.1.4481_embed_win32.zip herruntergeladen und im Programm Verzeichnis entpackt.
Wenn ich jedoch zu dieser Datenbank Verbinden will bekomme ich eine Exception.

Delphi-Quellcode:
ZConnection.TransactIsolationLevel := tiNone;
    ZConnection.Properties.Add('isc_tpb_concurrency');
    ZConnection.Properties.Add('isc_tpb_wait');
    ZConnection.Properties.Add ('Codepage=ISO8859_1');

    ZConnection.Database := 'd:\db1.fdb';

    ZConnection.Protocol := 'firebird-1.5';
    ZConnection.Properties.Add('Dialect=1');
Exception:
Code:
SQL Error: invalid format for transaction parameter block wrong version of transaction parameter block. Error Code: -901. Unsuccessful execution caused by system error that does not preclude successful execution of subsequent statements
Was mache ich falsch ?

mfg, Björn
Björn
>> http://bsnx.net <<
Virtual DP Stammtisch v1.0"iw" am 19.09.2007 - ich war dabei!
  Mit Zitat antworten Zitat