lazarus zeoslib 6.5.1 EZSQLException

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
slai
Senior Boarder
Senior Boarder
Posts: 53
Joined: 07.07.2006, 10:45
Location: office

lazarus zeoslib 6.5.1 EZSQLException

Post by slai »

hy

i installed the zeoslib from http://users.telenet.be/mdaems/
when i start my programm with the LazarusIDE -> FN9 at the first time the Databaseconnection to my Firebirddatabase 1.5 establisht, when i recompile and start it at twice then comes the EZSQLException!
then i start my lazarus again with this project, and at the first time my project run.

what can i do?
thanks for your replies

andi
slai
Senior Boarder
Senior Boarder
Posts: 53
Joined: 07.07.2006, 10:45
Location: office

Post by slai »

ok i think i know the problem,
the firebird.log file contains the errormsg:

AM3 (Client) Mon Jul 10 11:30:19 2006
INET/inet_error: socket errno = 10106

firebird 1.5, winxp prof.

is there anybody out there where had the same problem?

sorry for my english :-)

thanks for your replys


code for connect:


iIniFile := TIniFile.Create(ExtractFilePath(Application.ExeName)+'serverconfig.ini');
DBDataMod.ZCDB.Database := iIniFile.ReadString('serverconfig','databasefile','');
DBDataMod.ZCDB.HostName := iIniFile.ReadString('serverconfig','host','');
DBDataMod.ZCDB.Port := strtoint(iIniFile.ReadString('serverconfig','port',''));
DBDataMod.ZCDB.Protocol := iIniFile.ReadString('serverconfig','protocol','');
DBDataMod.ZCDB.User := iIniFile.ReadString('serverconfig','username','');
DBDataMod.ZCDB.Password := iIniFile.ReadString('serverconfig','password','');
DBDataMod.ZCDB.Properties.Add('Dialect=3');
try
DBDataMod.ZCDB.Connect;
silviogs
Junior Boarder
Junior Boarder
Posts: 42
Joined: 24.08.2005, 12:54
Location: The Most Oriental Point of America - João Pessoa - Brazil
Contact:

Post by silviogs »

Hi

I perceived that, when this in lazarus happens must reset debugger:

menu - rum - reset debugger

Respectfully

Silvio Guedes
slai
Senior Boarder
Senior Boarder
Posts: 53
Joined: 07.07.2006, 10:45
Location: office

Post by slai »

thank you very much!
Post Reply