Error "The database cannot be opened because ...": Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
Created page with "{{Bug needing input|}} Triplet of errors. === Error 1 === '''The database cannot be opened because the VBA project contained in it cannot be read. The database can be opened only if the VBA project is first deleted. Deleting the VBA project removes all code from modules, forms and reports. You should back up your database before attempting to open the database and delete the VBA project.''' To create a backup copy, click cancel and then make a backup copy of your data..."
 
 
(One intermediate revision by one other user not shown)
Line 18: Line 18:
== Error Log ==
== Error Log ==
'''Please include in your log if you were sending from home, and what time, and if this is after another send failed and before a reboot or the pull of a clean version, and other info you might have. '''
'''Please include in your log if you were sending from home, and what time, and if this is after another send failed and before a reboot or the pull of a clean version, and other info you might have. '''
* 2025-09-10 - reported by Lisa by email,  
* 2025-09-10 - reported by Lisa by email, no further info was available
{{DL | Lisa, what did you do just before the error popped up? [[User:Ttenbergen|Ttenbergen]] 22:11, 10 September 2025 (CDT)}}


== Related articles ==  
== Related articles ==  
{{Related Articles}}
{{Related Articles}}

Latest revision as of 22:11, 26 November 2025


Triplet of errors.

Error 1

The database cannot be opened because the VBA project contained in it cannot be read. The database can be opened only if the VBA project is first deleted. Deleting the VBA project removes all code from modules, forms and reports. You should back up your database before attempting to open the database and delete the VBA project.

To create a backup copy, click cancel and then make a backup copy of your database. To open the database and delete the VBA project without creating a backup copy, click OK.

Error 2

The Visual Basic for Applications project in the database is corrupt

Error 3

'Id' is not an index in this table

Solution

Copying down a clean version of CCMDB.accdb fixed this. If this is a one-off problem that might be good enough.

Error Log

Please include in your log if you were sending from home, and what time, and if this is after another send failed and before a reboot or the pull of a clean version, and other info you might have.

  • 2025-09-10 - reported by Lisa by email, no further info was available

Related articles

Related articles: