2017.13.2 Database conversion Failed to open target database (10504)

Started by mgg942, January 14, 2018, 06:32:35 AM

Previous topic - Next topic

mgg942

Hi,
I've repeatedly created a new (target) database from within 2017.13.2, closed iMatch 2017.13.2 and then run the database converter.
Every time it fails with the message: "Failed to open target database (10504)"
Looking at the log file:
01.14 15:43:36+    0 [3FA0] 02  I>           Database 'C:\IMDB\Insects\IMatch Database.imd5' for thread 3FA0 (16288)  Writable.
01.14 15:43:36+    0 [3FA0] 02  I>           Database file has 14.14 MB
01.14 15:43:36+    0 [3FA0] 02  I>       Locking mode is EXCLUSIVE
01.14 15:43:36+    0 [3FA0] 10  M>       <  6 CIMSQLite::InnerOpen
01.14 15:43:36+    0 [3FA0] 10  M>       >  6 CIMSQLite::GrowInstancePool  'IMSQLite.cpp(2658)'
01.14 15:43:36+    0 [3FA0] 10  M>        >  7 CIMSQLite::InnerOpen  'IMSQLite.cpp(2761)'
01.14 15:43:36+    0 [3FA0] 02  I>        Locking mode is EXCLUSIVE

Full log file attached.
No doubt I'm doing something wrong...
Mike.

Mario

I see no errors or warnings in this log file.

The source database IMatchDatabase.imd4 is opened in read-only mode. The target database IMatch Database.imd5 is also opened without an error. I have no idea why the converter may think that there is a problem. I don't recall a similar report.

Did you close IMatch 2017 before attempting the conversion?

Please note that the database converter is from 2014 and no longer supported.
It was designed to help users migrate their old IMatch 3 databases to IMatch 5 back in 2014.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

mgg942

Thank you, Mario, for the quick reply - and the tip that the database target should be an iMatch5 database.

I started up iMatch5, created a new database. Shut down iMatch 5, ran the database converter - happiness.

Now I have all my databases functional in iMatch2017.13.2

Mike.