Page 1 of 1

Delphi6, TIDatabase1 component, unsupported on-disk structure for file 01.FDB; found 12.0, support 13.0

Posted: Wed 28 Sep 2022 08:38
by JanekRoos
Hello!
When I am trying to connect with 01.fdb file via Delphi 6 TIDatabase1 component, I get this message:
unsupported on-disk structure for file
C:\USERS\KASUTAJA\DOWNLOADS\RANNAIMS\IMS\DATATEST\NOOM\DATA\01.FDB; found 12.0, support 13.0

What component should I use for connecting with 01.fdb file inside Delphi 6?

Re: Delphi6, TIDatabase1 component, unsupported on-disk structure for file 01.FDB; found 12.0, support 13.0

Posted: Wed 28 Sep 2022 13:03
by ertank
Hello,

Here you can find explanation of Firebird and Interbase OSD numbers
https://ib-aid.com/en/articles/all-fire ... -versions/

Basically, your FirebirdSQL version that IBDAC using seems like version 4.x and the database you are trying to open seems like a version 3.x database.

If you have a simple Virtual Machine, you can install FirebirdSQL 3.0 in it, copy that database you have in there and try to connect that database using FirebirdSQL 3.0 in this VM.

There is a way to make FirebirdSQL 4.x read FirebirdSQL 3.x databases. Basically, you will need FirebirdSQL 3.x engine12.dll/engine12.so file to be copied in FirebirdSQL 4.x "plugins" directory and restart FirebirdSQL 4.x server. If that is what you need, you can search more details about that on the internet.

Re: Delphi6, TIDatabase1 component, unsupported on-disk structure for file 01.FDB; found 12.0, support 13.0

Posted: Wed 28 Sep 2022 13:53
by JanekRoos
Thank you for your answer!
Is it possible to open 01.fdb made in Firebird 3.0 with IBDAC 8.0.1 and Firebird 4.0 ?

Re: Delphi6, TIDatabase1 component, unsupported on-disk structure for file 01.FDB; found 12.0, support 13.0

Posted: Wed 28 Sep 2022 14:27
by JanekRoos
Hello, Ertank!

Is it possible to connect with Delphi 6 to 01.fdb
(made in FIrebird 3.0) regardless of which version of Firebird is installed on the machine and regardless of which version of Firebird is installed on the machine?

Re: Delphi6, TIDatabase1 component, unsupported on-disk structure for file 01.FDB; found 12.0, support 13.0

Posted: Thu 29 Sep 2022 06:08
by JanekRoos
Hello, Erlank!

Does UniDAC component need working Firebird server for connecting with 01.fdb file?

Kind Regards,
Janek from Estonia

Re: Delphi6, TIDatabase1 component, unsupported on-disk structure for file 01.FDB; found 12.0, support 13.0

Posted: Thu 29 Sep 2022 17:24
by ertank
JanekRoos wrote: Wed 28 Sep 2022 14:27 Hello, Ertank!

Is it possible to connect with Delphi 6 to 01.fdb
(made in FIrebird 3.0) regardless of which version of Firebird is installed on the machine and regardless of which version of Firebird is installed on the machine?
Hello,

My knowledge, that is not possible. Because Firebird does not allow that.
Firebird 3.0 can be accessed with Firebird 3.0
Firebird 4.0 can be accessed with Firebird 4.0

Each major version has a different internal database structure. What is suggested is you should match database version and Firebird version and Firebird client dll version all.

Re: Delphi6, TIDatabase1 component, unsupported on-disk structure for file 01.FDB; found 12.0, support 13.0

Posted: Thu 29 Sep 2022 17:26
by ertank
JanekRoos wrote: Thu 29 Sep 2022 06:08 Hello, Erlank!

Does UniDAC component need working Firebird server for connecting with 01.fdb file?

Kind Regards,
Janek from Estonia
Hello,

Yes and this is because Firebird force it that way.