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

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
JanekRoos
Posts: 11
Joined: Thu 07 May 2020 08:51

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

Post by JanekRoos » Wed 28 Sep 2022 08:38

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?

ertank
Posts: 172
Joined: Wed 13 Jan 2016 16:00

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

Post by ertank » Wed 28 Sep 2022 13:03

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.

JanekRoos
Posts: 11
Joined: Thu 07 May 2020 08:51

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

Post by JanekRoos » Wed 28 Sep 2022 13:53

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 ?

JanekRoos
Posts: 11
Joined: Thu 07 May 2020 08:51

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

Post by JanekRoos » 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?

JanekRoos
Posts: 11
Joined: Thu 07 May 2020 08:51

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

Post by JanekRoos » 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

ertank
Posts: 172
Joined: Wed 13 Jan 2016 16:00

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

Post by ertank » Thu 29 Sep 2022 17:24

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.

ertank
Posts: 172
Joined: Wed 13 Jan 2016 16:00

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

Post by ertank » Thu 29 Sep 2022 17:26

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.

Post Reply