Link to home
Start Free TrialLog in
Avatar of bcad
bcad

asked on

MsysCompactError, Paste Error, Relationships missing

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 :(
ASKER CERTIFIED SOLUTION
Avatar of Jim P.
Jim P.
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bcad
bcad

ASKER

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??

The MsysCompactError is created at compaction by access.
Avatar of bcad

ASKER

Yes, I understand that, but is that a table that would be deleted automatically the next time you successfully repaired and compacted?
Exactly.  It looks like you have a bad compact/repair.  Yo probably need to go back and restart from the last known good database.
Avatar of bcad

ASKER

And this bad compact/repair could delete primary keys and relationships in the DB???  I have never seen this happen before...
If you have a DB that is looking for the MsysCompactError that means it wasn't a good, complete compact and repair.