Subject | Error opening database file on Mac OSX |
---|---|
Author | phil_hhn |
Post date | 2004-09-14T02:45:22Z |
Hi
We're developing a multi-platform application and currently using
Firebird 1.5, developing under win XP/2000.
Our app also runs on the Mac. We wanted to see how well the database
ran when it was also on the Mac (and not remotely on a windows box).
However we installed Firebird on the Mac (Firebird-cs-1.5.1-Macos.zip)
and copied the database file on to it, but we get a runtime exception.
We cannot use the database via the app or IBExpert. The errors imply
that the internal database format is invalid.
What could be wrong? Please don't tell me that the internal database
format is different on the Mac vs. the PC (I can't imagine it is).
Here are the errors:
org.firebirdsql.jdbc.FBSQLException: Resource Exception. unsupported
on-disk structure for file /Users/bloggs/MyDb.fdb; found 2560, support 10
Reason: unsupported on-disk structure for file /Users/bloggs/MyDb.fdb;
found 2560, support 10
at
org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:112)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:221)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at org.firebirdsql.gds.GDSException: unsupported on-disk structure for
file /Users/bloggs/MyDb.fdb; found 2560, support 10
... and if anyone can tell me what the obscure error "found 2560,
support 10" is, please let me know...
TIA,
Phil
We're developing a multi-platform application and currently using
Firebird 1.5, developing under win XP/2000.
Our app also runs on the Mac. We wanted to see how well the database
ran when it was also on the Mac (and not remotely on a windows box).
However we installed Firebird on the Mac (Firebird-cs-1.5.1-Macos.zip)
and copied the database file on to it, but we get a runtime exception.
We cannot use the database via the app or IBExpert. The errors imply
that the internal database format is invalid.
What could be wrong? Please don't tell me that the internal database
format is different on the Mac vs. the PC (I can't imagine it is).
Here are the errors:
org.firebirdsql.jdbc.FBSQLException: Resource Exception. unsupported
on-disk structure for file /Users/bloggs/MyDb.fdb; found 2560, support 10
Reason: unsupported on-disk structure for file /Users/bloggs/MyDb.fdb;
found 2560, support 10
at
org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:112)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:221)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at org.firebirdsql.gds.GDSException: unsupported on-disk structure for
file /Users/bloggs/MyDb.fdb; found 2560, support 10
... and if anyone can tell me what the obscure error "found 2560,
support 10" is, please let me know...
TIA,
Phil