The information in this article applies to:
SYMPTOMS
If you call CDaoWorkspace::RepairDatabase() or CdbDbEngine::RepairDatabase
on a corrupt Access 7.0 database, it may result in a database that is so
corrupt that it cannot be recovered.
- or -Use Jetcomp.exe, a stand-alone utility, to compact the database. CAUSEThe MSysObjects system table is corrupted. RESOLUTIONYou should always call CDaoWorkspace::CompactDatabase() before calling CDaoWorkspace::RepairDatabase() on an Access 7.0 database. It is a good idea to compact, repair, and backup your database frequently. MORE INFORMATIONSample Code
REFERENCESFor additional information, please see the following article(s) in the Microsoft Knowledge Base: Q109953 INF: How to Repair a Damaged Database Additional query words: Jet 3.0
Keywords : kbcode kbprg kbDAO kbDatabase kbMFC kbVC kbVC400 kbVC410 kbVC420 kbVC500 kbVC600 |
Last Reviewed: July 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |