Autor Beitrag
cyberax
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 247

Win XP Pro
Delphi 5 Enterprise
BeitragVerfasst: So 14.01.07 13:28 
Hallo,

ich arbeite mit Delphi 7 und den Zeos Komponenten.
Mein Programm soll auf eine Firebird Datenbank zugreifen.
Habe Firebird 1.5 installiert.

Lokal ist das kein Problem mit folgenden Einstellungen der ZConnection:
Database : c:\db\kasse.fdb
Hostname: localhost
Password: masterkey
Protocol:firebird- 1.5
User SYSDBA

Nun soll das Programm aber über Netzwerk arbeiten.
Für den Zugriff habe ich die ZConnection so eingestellt:
Database : 192.168.0.101:c:\db\kasse.fdb
Hostname: localhost
Password: masterkey
Protocol:firebird- 1.5
User SYSDBA
TransacIsolationLevel: tiReadCommited

Wenn ich nun (auf dem Server) in Delphi die ZConnection auf Connected=true stelle, dann funktioniert das. Aber Keine meiner Querys lasst sich öffnen.

Fehlermeldung= "SQL Error: Dynamic SQL Error SQL error code = -901 feature ist not supported......"

Liegt das an den Zeos Komponenten, oder ist einen Einstellung von mir falsch?

Wie könnte ich dieses Programm (bzw. mit welchen Komponenten) realisieren, wenn ein Netzwerkzugriff nötig ist?

Mfg vodasu
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 14.01.07 19:02 
also ich mache das immer so:

ZConnection:
Database : c:\db\kasse.fdb
Hostname: 192.168.0.101
Password: masterkey
Protocol:firebird- 1.5
User SYSDBA
TransacIsolationLevel: tiReadCommited

und das müsste gehen.
cyberax Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 247

Win XP Pro
Delphi 5 Enterprise
BeitragVerfasst: So 14.01.07 20:32 
Also vielen, vielen Dank!

Es funktioniert. Habe Einstellungen genau wie von Matze übernommen und es funktioniert einwandfrei.