In addition to those listed at Microsoft here .
10 DBEngine.CompactDatabase Dbpath, DbTempPath, "", dbEncrypt 20 Kill Dbpath 30 Name DbTempPath As DbPath
The above code works day after day in many installations, but in extreme cases, line 30 fails and I get a call that is not in the database.
Today I first saw that this happened myself and the error that was thrown:
Error accessing path / file (error 75)
However, I do not think that any of these reasons apply in this situation.
When this happened during the installation today, I renamed the temporary file and ran the code again, and the error occurred again.
(I think this may have something to do with the hardware problem, since creating a copy of the file took a very long time.)
kjack source share