We have another problem with the version 4.1.2 of the DbExpress driver for Interbase.
We cannot connect to a Firebird server that is not on port 3050. The following error message is systematically displayed:
Here is an example of the code that produces errors (Executed with Delphi XE2):The project produced the EIBCError exception class with the message ‘
Unable to complete network request to host "PC-780JDV".
Failed to establish a connection.'.
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
begin
SQLConnection1.DriverName := 'DevartInterBase';
SQLConnection1.LibraryName := 'dbexpida40.dll';
SQLConnection1.VendorLib := 'fbclient.dll';
SQLConnection1.GetDriverFunc := 'getSQLDriverInterBase';
SQLConnection1.Params.Clear;
SQLConnection1.Params.Values[{!4}'DataBase'] := 'PC-780JDV/3052:C:\Base\Master.fdb';
SQLConnection1.Params.Values[{!4}'User_Name'] := 'SYSDBA';
SQLConnection1.Params.Values[{!4}'Password'] := 'masterkey';
SQLConnection1.LoginPrompt := false;
SQLConnection1.Open;
SQLConnection1.Close;
end;
It seems that the problem occurs whatever the version of the Firebird server used (1.5.6, 2.1.x, 2.5.x).
When we carry out the same test with the version 4.0.1 of the DbExpress driver for Interbase, the problem does not occur.
Can we have an answer from you about this problem please?
Regards,
Jerome DUVAL
Holy-Dis