Can only connect to server on port 3050

Can only connect to server on port 3050

Postby 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
jerduval
 
Posts: 20
Joined: Mon 13 Sep 2010 08:33
Location: Colombes, France

Re: Can only connect to server on port 3050

Postby 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.
ZEuS
Devart Team
 
Posts: 235
Joined: Thu 05 Apr 2012 07:32

Re: Can only connect to server on port 3050

Postby jerduval » Fri 04 Jan 2013 15:54

Thanks, that works fine with the new version.

Best regards,

Jerome DUVAL
Holy-Dis
jerduval
 
Posts: 20
Joined: Mon 13 Sep 2010 08:33
Location: Colombes, France

Re: Can only connect to server on port 3050

Postby 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.
AndreyZ
 


Return to dbExpress driver for InterBase & Firebird