The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,262 other subscribers

Firebird/InterBase – “unsupported on-disk structure for file …; found 32779.13, support .”

Posted by jpluimers on 2009/09/03

If you get this error message:

Sep 3, 2009 5:16:24 PM de.aderon.dl.adapter.DataAdapter getConnection
SEVERE: error DataAdapter getConnection : GDS Exception. 335544379. unsupported on-disk structure for file C:\\develop\\Db\\17_20090314.fdb; found 32779.13, support .
Reason: unsupported on-disk structure for file C:\\develop\\Db\\17_20090314.fdb; found 32779.13, support .

Most answers found by google mention that your ODS (on disk structure) is too new for your Firebird version.
But in this case, the portname was pointing to InterBase 2009 (relatively new) in stead of Firebird (2.1.1) also relatively new.

The solution was to fix the connection string:

  <key name="connection_uri"><value>jdbc:firebirdsql:127.0.0.1/3050:C:\\develop\\Db\\17_20090314.fdb</value></key>
  <key name="connection_uri"><value>jdbc:firebirdsql:127.0.0.1/30521:C:\\develop\\Db\\17_20090314.fdb</value></key>

Firebird 2.1.1 was running on port fbs_211 (decimal 30521), but the jdbc Firebird driver does not understand service names like fbs_211, only hard-coded TCP/IP ports like 30521.
InterBase 2009 was running onport 3050.

–jeroen

2 Responses to “Firebird/InterBase – “unsupported on-disk structure for file …; found 32779.13, support .””

  1. Manuel said

    Hi Jeroen

    My problem is that i’m very newer in firebird…

    I need to connect with an GBD data base file. I have installed this version of firebird WI-V1.5.1.4481 Firebird 1.5 on windows XP
    I’m using an graphic environment called jdbstudio-0.0.8 developed in java to administrate the databases. When i try to connect in one file in particular, the error is:
    [USRERROR] Database connection failed: GDS Exception. 335544379. unsupported on-disk structure for file C:\Program\Dada\DBFile.GDB; found 32779.10, support .
    Reason: unsupported on-disk structure for file C:\Program\Dada\DBFile.GDB; found 32779.10, support .

    And I don’t know where i must fix the connection string like you say, because i don’t know about de console administration os firebid.

    I hope you may help me and apology becase my english is very bad too…

    []’s

    • jpluimers said

      When you look at these pages with ODS versions, you will see that ODS 10 is either InterBase 6, InterBase 6.5 or FireBird 1.5.

      InterBase 2009 does not support ODS 10 any more, so might it be the case that you have both FireBird 1.5 and InterBase 2009 installed?

      Drop me an email (see contact form) if you have more info.

      –jeroen

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.