Solved

The database cannot be opened because the VBA project contained in it cannot be read

Posted on 2013-06-30
6
1,014 Views
Last Modified: 2013-07-02
I have an accde installed on clients machines in a run time environment.  On one machine, I get the following error message:

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 the modules, forms and reports. You should back up your database before attempting to open the database and delete the VBA project.

Can anybody help?

Thanks in advance.
0
Comment
Question by:CRB1609
6 Comments
 
LVL 27

Assisted Solution

by:MacroShadow
MacroShadow earned 100 total points
ID: 39289102
It sounds like the file is corrupted. Back-up the tables if you can, (import the tables from a new file) then replace the accde with a working version and import the tables.
0
 
LVL 77

Expert Comment

by:peter57r
ID: 39289240
And if you are not using a split database, now is the time to change it so that you are.
0
 

Author Comment

by:CRB1609
ID: 39289291
Yes, I'm using a split database and it's already installed in about 100 sites, so I'm assuming that we are talking about the front end.  I'll rebuild the  latest release of the app and see if that fixes it.
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 77

Accepted Solution

by:
peter57r earned 400 total points
ID: 39289332
If it was corruption of the front-end you should only have  to copy a new front-end and that should be that.
0
 
LVL 21
ID: 39290172
I assume that you have the front end copied to each user's local hard drive or none shared folder..

I agree that you need to replace the front end for the user having issues.

I use an app launcher that automatically copies a new front end eery week to avoid this issue.

Free example: Application Starter
0
 

Author Closing Comment

by:CRB1609
ID: 39294981
Thank you very much.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question