Compact and Repair

B

bz

Hi,

Sorry if this has been cover zillon times before. I just can't find the
post.

I am using Access 2003. I am trying to "Compact and Repair" my MDB file.
The problem is that it always gives me an error message saying:

"Cannot open database <database>. It may not be a database that your
application recognizes, or the file may be corrupt.".

EVERY SINGLE TIME!!! If I click "Compact and Repair" the second time, it
will start to compact without any error anymore.

any idea?


--
There is no answer.
There has not been an answer.
There will not be an answer.
That IS the answer!
And I am screwed.
Deadline was due yesterday.

There is no point to life.
THAT IS THE POINT.
And we are screwed.
We will run out of oil soon.

http://spaces.msn.com/bzDaCat
 
J

John W. Vinson

I am using Access 2003. I am trying to "Compact and Repair" my MDB file.
The problem is that it always gives me an error message saying:

"Cannot open database <database>. It may not be a database that your
application recognizes, or the file may be corrupt.".

EVERY SINGLE TIME!!! If I click "Compact and Repair" the second time, it
will start to compact without any error anymore.

There are types of corruption which Compact and Repair can't fix. I'd
(strongly!) suggest MAKING A BACKUP - right now. If you already have a backup
keep it in a safe place and make *another* backup.

Then create a new, empty database and use File... Get External Data... Import
to import everything from this database. Try compacting this new database. If
you get the same error, you may have imported some corrupt object (a table
with a memo field, or a form with some damaged code, or some other corrupted
object) and you'll need to delete this new database, and import objects one at
a time until you identify the damaged one.

See http://www.granite.ab.ca/access/corruptmdbs.htm for detailed tips on
corruption, its causes and cures.

John W. Vinson [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top