[FB-Tracker] Created: (DNET-1007) FbException.ErrorCode is always returning 335544721 when try to open a connection with an invalid username/password

9 views
Skip to first unread message

Luciano Mendes (JIRA)

unread,
Jan 13, 2021, 7:04:54 AM1/13/21
to firebird-n...@googlegroups.com
FbException.ErrorCode is always returning 335544721 when try to open a connection with an invalid username/password
-------------------------------------------------------------------------------------------------------------------

Key: DNET-1007
URL: http://tracker.firebirdsql.org/browse/DNET-1007
Project: .NET Data provider
Issue Type: Bug
Components: ADO.NET Provider
Affects Versions: 7.10.1.0
Environment: Windows 10 Pro Version 20H2
Firebird 3.0.7.33374
Reporter: Luciano Mendes
Assignee: Jiri Cincura
Priority: Critical
Attachments: Error.png

ACTUAL RESULT
FbException.ErrorCode is always returning 335544721 when try to open a connection with an invalid username/password:

335544721
Unable to complete network request to host
No message for error code 35544721 found


EXPECTED RESULT
FbException.ErrorCode should return 33554472 error code when try to open a connection with an invalid username/password:

33554472
Your user name and password are not defined. Ask your database administrator to set up a Firebird login.


STEPS TO REPRODUCE THIS ISSUE:
- Try to open a connection to a Firebird 3.0 database with an invalid username/password.

ENVIRONMENT SETUP
==========databases.conf==========
CHRONOS_CIN = D:\APPLICATIONS\LURONUMEN\DB\CHRONOS_CIN.FDB
{
AuthServer = Srp
SecurityDatabase = CHRONOS_CIN
UserManager = Srp
}
==========firebird.conf==========
#SETUP
UserManager = Srp, Legacy_UserManager
WireCrypt = Enabled
#PERFORMANCE
DefaultDbCachePages = 30K
FileSystemCacheThreshold = 2M
LockHashSlots = 30011
LockMemSize = 15M
TempBlockSize = 2M
TempCacheLimit = 3000M
#SECURITY
DatabaseAccess = None

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply all
Reply to author
Forward
0 new messages