Firebird Error - "Connection rejected by remote interface"

Discussion of open issues, suggestions and bugs regarding EntityDAC
Post Reply
marcosdoni
Posts: 5
Joined: Thu 20 Jun 2013 19:32

Firebird Error - "Connection rejected by remote interface"

Post by marcosdoni » Mon 15 Aug 2016 15:01

I'm testing Entitydac. My environment is Windows 10 x64 , Rad Studio XE7 and Firebird 3.0 x64.

When performing a small test connection to firebird database , I get the error: "connection rejected by remote interface"

Sample test:

Code: Select all

var
  Connection: TEntityConnection;
begin
  Connection := TEntityConnection.Create(nil);
  Connection.ProviderName := 'Ibdac';
  Connection.ConnectionString := 'Server=localhost; Username=SYSDBA; password=MASTERKEY; DataBase=C:\bd-test.gdb';
  Connection.Connect;
It seems that this error is related to library " fbclient.dll". So , I wonder how to get around this error.

marcosdoni
Posts: 5
Joined: Thu 20 Jun 2013 19:32

Re: Firebird Error - "Connection rejected by remote interface"

Post by marcosdoni » Mon 15 Aug 2016 15:32

Removing default InterBase installed with delphi solved the issue.

Thanks.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Firebird Error - "Connection rejected by remote interface"

Post by AlexP » Tue 16 Aug 2016 05:37

Hello,

Glad to see that you have found the solution. If you have any other questions, feel free to contact us

tabu
Posts: 5
Joined: Fri 15 Jan 2021 14:02

Re: Firebird Error - "Connection rejected by remote interface"

Post by tabu » Sun 17 Jan 2021 16:54

Small trap: not setting ClientLibrary worked fine for me on localhost, but no longer on the server.

Code: Select all

UniConnection.SpecificOptions.Values['ClientLibrary'] := 'fbclient.dll';

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Firebird Error - "Connection rejected by remote interface"

Post by MaximG » Tue 19 Jan 2021 09:26

What do you mean by "on the server": is an EntityDAC based application, which connects to a local database, installed on the server? What is the version of your server? What error are you getting?

Post Reply