Error: "connection rejected by remote interface" using Firebird 3 in .Net

2

I have an application in asp.net, which currently uses firebird 2.5.1 and works normally. I am testing version 3.0 Release Candidate for migrate the version soon, but does not open the connection, the following occurs: error:

  

"connection rejected by remote interface".

Testing in an application in Delphi worked normally, however in Visual Studio it does not work.

I wonder if it might be the provider for .NET that has not yet been updated to the new version, or if it might be something doing.

    
asked by anonymous 16.12.2015 / 13:14

2 answers

1

Short answer : reinstall the Firebird server by checking the option to enable legacy auth , or change the server configuration (in firebird.conf) p>

#AuthServer = Srp

for

AuthServer = Legacy_Auth, Srp, Win_Sspi

Long answer : ADO provider for .net (FirebirdSql.Data.FirebirdClient.dll, v4.10.0.0) does not yet support the new default Firebird (SRP) authentication template, so the server must be configured to support the legacy authentication model. / p>

Most Delphi applications use fbclient (or gds32.dll) to connect to the server, and as the Firebird 3.0 installation distributes a fbclient that already implements the new authentication model, applications that use fbclient will not have this problem.

If other login errors appear after this solution, this answer covers the whole problem, and the complete solution, much better than I did above (I only found the answer after resolving: - |)

    
10.05.2016 / 22:31
0

I was able to solve my problem of:

  

connection rejected by remote interface

By changing GDS32.DLL in the system32 folder, it may be that the file has been corrupted, something like that. It's running normally now, I've been able to open the bank in the IB and my system has rolled back.

    
19.10.2017 / 13:02