Article ID: 224340 - Last Review: January 9, 2007 - Revision: 1.6 ACC2000: Error Message: There Were Compilation Errors During the Conversion or Enabling Of This Database...This article was previously published under Q224340 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access database (.mdb). For a Microsoft Access 2002 version of this article, see 324350 (http://support.microsoft.com/kb/324350/EN-US/ ) . On This PageERROR MESSAGE
When you convert a database from an earlier version of Microsoft Access, you may receive the following error message:
There were compilation errors during the conversion or enabling of this database. The database has not been saved in a compiled state. The performance of this database will be impaired because Access will need to recompile the database for each session. For information on improving performance, click Help. http://www.microsoft.com/downloads/details.aspx?FamilyID=8FBEE1D3-C5BB-4A36-A2F7-DC63DE2A818C
(http://www.microsoft.com/downloads/details.aspx?FamilyID=8FBEE1D3-C5BB-4A36-A2F7-DC63DE2A818C)
NOTE: If you reached this article by clicking the Web Info button in an error message, you already have Customizable Alerts enabled.
THINGS TO TRYFailure in conversionTo see exactly where the error(s) occur, compile all modules in the converted database.NOTE: For compilation without errors, you may need to manually change some syntax in the database after conversion. To compile all modules in a converted database, follow these steps:
Incompatibilities with certain objectsIf the conversion process seems to stop, takes a long time to complete, or displays an error that prevents the new database from being created, you can create a new database in Microsoft Access 2000 and import objects (individually or grouped) from the database in the earlier version.Importing objects into a new database has two benefits:
Errors in code in the earlier versionTo help reduce errors during the conversion process, re-compile all modules and correct any errors in the database in the earlier version of Microsoft Access before converting it. This eliminates any pre-existing compile errors that would cause an error message when you convert the database to the new version.MORE INFORMATIONFor additional information about other problems you may encounter when you try to convert a database to Access 2000, click the article number below
to view the article in the Microsoft Knowledge Base:
225946
(http://support.microsoft.com/kb/225946/EN-US/
)
ACC2000: Corrupted VBA Project Error When You Try to Convert a Database
| Article Translations
|
Back to the top
