Trying to get actual error message with TZConnection for Firebird Database
Posted: 18.07.2018, 19:44
I am trying to get actual error message on connecting to Firebird database with TZConnection. But both gives me overall error message, please check the following messages. How can I get actual error message like if I enter wrong password it will provide actual firebird error message.
SQL Error: connection lost to database. Error Code: -901. can't format message 13:99 -- message file C:\WINDOWS\SYSTEM32\firebird.msg not found
StatusCode:
ErrorCode:-901
whereas with Delphi Tokyo 10.2.3 with the same version of zeos 7.2.4 I got following:
Delphi Tokyo with pl_ZeosDBO 7.24 stable SQL Error: I/O error during "CreateFile (open)" operation for file "E:\TAUTUA.FDB645" Error while trying to open file The system cannot find the file specified. . Error Code: -902. can't format message 13:98 -- message file C:\WINDOWS\SYSTEM32\firebird.msg not found
SQL Error: connection lost to database. Error Code: -901. can't format message 13:99 -- message file C:\WINDOWS\SYSTEM32\firebird.msg not found
StatusCode:
ErrorCode:-901
whereas with Delphi Tokyo 10.2.3 with the same version of zeos 7.2.4 I got following:
Delphi Tokyo with pl_ZeosDBO 7.24 stable SQL Error: I/O error during "CreateFile (open)" operation for file "E:\TAUTUA.FDB645" Error while trying to open file The system cannot find the file specified. . Error Code: -902. can't format message 13:98 -- message file C:\WINDOWS\SYSTEM32\firebird.msg not found