Can only connect to server on port 3050

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for InterBase & Firebird in Delphi and C++Builder
Post Reply
jerduval
Posts: 23
Joined: Mon 13 Sep 2010 08:33
Location: Colombes, France

Can only connect to server on port 3050

Post by jerduval » Wed 02 Jan 2013 14:17

Dear AndreyZ,

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:
The project produced the EIBCError exception class with the message ‘
Unable to complete network request to host "PC-780JDV".
Failed to establish a connection.'.
Here is an example of the code that produces errors (Executed with Delphi XE2):

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;
If you carry out the same test with Delphi 6 (and if we change the LibrairyName into "dbexpida.dll"), the same problem occurs.
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

ZEuS
Devart Team
Posts: 240
Joined: Thu 05 Apr 2012 07:32

Re: Can only connect to server on port 3050

Post by ZEuS » Fri 04 Jan 2013 14:17

Thank you for the information. We have fixed the error.
Please download version 4.1.2 of dbExpress driver for InterBase and Firebird from our website again, and reinstall it.

jerduval
Posts: 23
Joined: Mon 13 Sep 2010 08:33
Location: Colombes, France

Re: Can only connect to server on port 3050

Post by jerduval » Fri 04 Jan 2013 15:54

Thanks, that works fine with the new version.

Best regards,

Jerome DUVAL
Holy-Dis

AndreyZ

Re: Can only connect to server on port 3050

Post by AndreyZ » Tue 08 Jan 2013 11:54

It's good to see that the problem was solved. If any other questions come up, please contact us.

Post Reply