Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

MsysCompactError, Paste Error, Relationships missing

Posted on 2006-07-18
9
1,051 Views
Last Modified: 2012-06-21
Is it possible for a Repair and Compact to actually remove all the relationships in a database, as well as the primary key in the main table due to a MsysCompactError, and then a Paste Error?  I am trying to determine what happened, as I think someone might have been fooling around with the DB, but I want to make sure what this is before I point any fingers.  

We do almost daily repair and compacts, and I take random backups (in addition to the network backups every night).  I went to make a change in the DB and noticed that all the relationships were missing, and the primary key in the main table had been removed.  Around that time a rather inept SQL programmer had been asked by management to look into importing the back end into SQL, so I intially assumed that he had messed up the table and then reimported it without knowing what he was doing.  Now though, I have discovered the MsysCompactError table and Paste Error table in one of my backups, and this is the first one where the relationships disappeared.  Database is working fine, and those two tables seemed to magically disappear on their own - would the next successful repair and compact get rid of them?  

Sooooo...is it possible for all this to occur just because of an error during repair and compact??????  And is it possible for the tables to disappear on their own?  Or has someone been monkeying with my DB :(
0
Comment
Question by:bcad
  • 4
  • 3
9 Comments
 
LVL 38

Accepted Solution

by:
Jim P. earned 500 total points
ID: 17130923
If compacting over the network this is very possible.  I suggest that you copy the database locally to your workstation or do it from a remote desktop on the server.  And use the jetcomp utility instead of the Access compact.

http://support.microsoft.com/kb/295334/en-us
0
 
LVL 1

Author Comment

by:bcad
ID: 17131108
I have never before seen a Paste Error table delete itself though, so this is what made me suspect that it had some help.  Is it possible for Access to delete the Paste Error and MsysCompactError tables all by itself??

0
 
LVL 38

Expert Comment

by:Jim P.
ID: 17131383
The MsysCompactError is created at compaction by access.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 1

Author Comment

by:bcad
ID: 17132042
Yes, I understand that, but is that a table that would be deleted automatically the next time you successfully repaired and compacted?
0
 
LVL 38

Expert Comment

by:Jim P.
ID: 17132102
Exactly.  It looks like you have a bad compact/repair.  Yo probably need to go back and restart from the last known good database.
0
 
LVL 1

Author Comment

by:bcad
ID: 17140255
And this bad compact/repair could delete primary keys and relationships in the DB???  I have never seen this happen before...
0
 
LVL 38

Expert Comment

by:Jim P.
ID: 17140358
If you have a DB that is looking for the MsysCompactError that means it wasn't a good, complete compact and repair.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

828 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