0

I coded a CRM application in Delphi some years ago and worked with it. Now I reinstalled my computer and the only thing that changed was the Username of Windows 10 itself. Result is, that I cannot access the Firebird 3.0 db anymore and I have no idea what the problem is or might be, because, as far as I know, the Firebird 3.0 Embedded librart does not perform authentication.

Has anybody an idea?

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
  • 1
    If you have hardcoded the paths to your database files and it was stored at some user based folder that would mena that now your application can't find the database files as they are in different locations since username folder name changed. – SilverWarior Jul 21 '21 at 22:59
  • This question has nothing to do with Delphi, as it is only about not being able to access the DB and not Delphi code. I've removed the Delphi tag. – Ken White Jul 22 '21 at 03:03
  • Please provide a [mre] and the error messages. If you want debugging tips or ideas, then Stack Overflow is probably the wrong place, because such questions are usually unfocussed. As SilverWarrior says, check your configuration for the database location, likely it is looking in a different location than you expect. Also try installing a full Firebird install, maybe you're missing some libraries expected by Firebird (e.g. the Visual C++ runtime). Consider asking on the [firebird-support Google Group](https://groups.google.com/g/firebird-support), or maybe a forum about Firebird and Delphi. – Mark Rotteveel Jul 22 '21 at 05:02
  • Try SysInternals Process Monitors to check, where the database file was looked for and whether it was opened successfully or not – Arioch 'The Jul 22 '21 at 09:04
  • If you have no idea what the problem can be - try to read error message that you get trying to access the database. – user13964273 Jul 22 '21 at 10:39

1 Answers1

0

There are tools to inspect access to your DB. Starting with Firebird 3 there is a new more secure way to access databases. If your application use "old-school" (Firebird 2.5 and earlier) connection way you should provide legacy Authentication

Eric Aya
  • 69,473
  • 35
  • 181
  • 253
vitaly
  • 1
  • 2