Page 1 of 1

lazarus zeoslib 6.5.1 EZSQLException

Posted: 10.07.2006, 07:17
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

Posted: 10.07.2006, 12:48
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;

Posted: 10.07.2006, 13:30
by silviogs
Hi

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

menu - rum - reset debugger

Respectfully

Silvio Guedes

Posted: 10.07.2006, 13:42
by slai
thank you very much!