ACC95: Opening Replica DB Causes "File Already Exists" Error (155195)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
This article was previously published under Q155195
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you open a replica copy of a database you receive the following error
message:
File already exists
When you click the OK button, the database does not open.
CAUSE
One of the replicated form or report objects contains a missing or invalid
Visual Basic for Applications module.
RESOLUTION
Take the following steps to fix the replicated database:
- Start Microsoft Access for Windows 95, but do not open a database.
- On the Tools menu, click Database Utilities, then click Compact
Database. Compact your Design Master database to a new database name
in the same folder.
- Rename your original Design Master database to a new name.
- Rename the newly compacted database to the original Design Master name.
NOTE: The newly compacted database becomes your new Design Master
database. When you are confident that your application is working
smoothly again, you can delete the original Design Master database that
you renamed in step 3, or save it as an incremental backup.
- Open the new Design Master database.
- Open any module in your database in Design view and change it in some
way. For example, you can add a blank line to the Declarations section
of a module.
- On the Run menu, click Compile All Modules.
- On the File menu, click Save All Modules.
- Close the module.
- On the Tools menu, point to Replication, then click Synchronize Now.
- Click Directly with Replica. In the list of replicas, click the name
of the replica that causes the error message, then click OK.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access version
7.0. We are researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
REFERENCES
For more information about replicated databases, search on the phrase
"database replication," using the Answer Wizard from the Microsoft Access
7.0 Help menu.
Modification Type: | Major | Last Reviewed: | 7/2/2002 |
---|
Keywords: | kbbug kbenv kberrmsg KB155195 |
---|
|