Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Mschlecht on March 31, 2006, 01:50:15 pm

Title: Unrecognized database format
Post by: Mschlecht on March 31, 2006, 01:50:15 pm
Unable to bring up project file, getting 'unrecognized database format'.

We were able to save documents earlier in the day.  We're not sure why this happened and why we can't open this project file.

Anyone with a solution?
Title: Re: Unrecognized database format
Post by: «Midnight» on March 31, 2006, 02:04:48 pm
Some things to check:
Good luck, and please let us know how you make out,
David
Title: Re: Unrecognized database format
Post by: Mschlecht on March 31, 2006, 03:23:21 pm
Thanks!!! That worked.
Title: Re: Unrecognized database format
Post by: «Midnight» on March 31, 2006, 03:36:18 pm
You're welcome of course.

But, which one worked?
Title: Re: Unrecognized database format
Post by: mum2y on October 10, 2006, 12:44:24 am
I have the same problem and cant find any solution.
The problem is, when system close the EA process before it can close the project like this
- shutdown or restart comp imidiate
- power switched off

- need to repait initial connection to DB c.c., not content

i tried all of the suggestion expect (repair with access - i wont buy Access to repair AE ;])

Title: Re: Unrecognized database format
Post by: «Midnight» on October 10, 2006, 04:09:48 am
You can do the "repair" function directly from EA.

Start EA and open your EAP file, let EA complain. If it will open the file at all you should be OK.

From the EA main menu choose Tools | Manage .EAP File | Repair .EAP File. This should do the trick.

If EA won't recognize the file at all, then submit a bug report to Sparx (since you will have EA open, from the main menu choose Help | On-line Resources | Bug Report Page), and please let us know here in the forum.
Title: Re: Unrecognized database format
Post by: mum2y on October 10, 2006, 01:32:59 pm
so now i can say >
for any crash, update the version first, any build can correct it ;]

and steps are like this if database crash
- create new empty project or open any
 - must have something opened, dont know why ;]
- use repair to specific corrupted file
 - and hope to repair it
 - it repaires file crashed on power switch off and process kill

hf with EA
Title: Re: Unrecognized database format
Post by: Paolo F Cantoni on October 10, 2006, 02:03:44 pm
Quote
I have the same problem and cant find any solution.
The problem is, when system close the EA process before it can close the project like this
 - shutdown or restart comp immediate
 - power switched off

- need to repair initial connection to DB c.c., not content

i tried all of the suggestion expect (repair with access - i wont buy Access to repair EA ;])

In my experience it is extremely rare for even catastrophic failure of EA (such as crashes or forced exits at shutdown or logout - or even power failures) to corrupt the DB.  Especially if you are using JET4.0.

Sparx have (in my opinion) done a very good job of isolating/coupling the DB from the Application.  You must have just been very unlucky...  :(

As to having to have at least one .EAP file open before you can repair another.  Yes, that is a minor glitch in EA's UI (Unique Interface) - but it is not a big impost (in my view).  Report it as a bug.

As David (Midnight) says... You should be able to repair the DB using EA on its own.

Let us know if you manage it (and any steps required).

Paolo
Title: Re: Unrecognized database format
Post by: kline1 on December 14, 2006, 03:23:38 am
I've had two 'unrecognized database format' errors in the past month, never having experienced them before.

The first time it occurred, I didn't lose much work, so I just restored a backup.  (I was able to repair the database using EA's repair feature, but felt it was safer to use the backup, rather than the repaired database.)

Then it occurred yesterday.  This time it isn't practicable to restore a backup as 2 people would each lose a day's work.

I've two questions:
- How many others are experiencing database corruption?
- Does anyone know why it happens?
- Has anyone had further problems with a repaired database?
Title: Re: Unrecognized database format
Post by: «Midnight» on December 14, 2006, 05:39:33 am
I've yet to trash a single file in years of working with EA. I have had one file act strangely, but the repair feature worked and I did not have problems later.

What's your working environment?

BTW, I have always switched the Jet 4.0 option on. The other setting is for those of us who still have the Access 97 drivers, but Sparx staunchly defends the current default. Sigh...