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
Trying to get actual error message with TZConnection for Firebird Database
-
- Fresh Boarder
- Posts: 2
- Joined: 18.07.2018, 19:39
-
- Platinum Boarder
- Posts: 2006
- Joined: 17.01.2011, 14:17
Re: Trying to get actual error message with TZConnection for Firebird Database
Hello,
hmm - usually Firebird is telling you much more. Zeos only checks for an error and then asks Firebird to describe the error. This part seems to fail on your system:
Best regards,
Jan
hmm - usually Firebird is telling you much more. Zeos only checks for an error and then asks Firebird to describe the error. This part seems to fail on your system:
Which version of Firebird do you use? Do you load the client lib from the firebird installation directory? Usually the firebird.msg lies right next to the fbclient.dll? Please use the ZConnection.LibraryLocation property to specify the correct path.can't format message 13:99 -- message file C:\WINDOWS\SYSTEM32\firebird.msg not found
can't format message 13:98 -- message file C:\WINDOWS\SYSTEM32\firebird.msg not found
Best regards,
Jan
Re: Trying to get actual error message with TZConnection for Firebird Database
What's the sense of making two threads with identical question but differing subjects? I replied to you in another thread.