Error "The database cannot be opened because ..."

Revision as of 21:11, 10 September 2025 by Ttenbergen (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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,
 

Lisa, what did you do just before the error popped up? Ttenbergen 22:11, 10 September 2025 (CDT)

  • SMW


  • Cargo


  • Categories

Related articles

Related articles: