[AccessD] Windows 7 Running Cached Old Version Of MDB

Andy Lacey andy at minstersystems.co.uk
Mon Jan 7 05:37:29 CST 2013


I thought I'd truly lost it this time.


Running our main MDB one machine was giving the message that it was running an
out-of-date version. This uses a home-spun routine and triggers a new version to
copy down from the network. But the error message persisted. So I manually did
the copy and it still happened. I looked at the file on the server and it was
the latest version. I copied it to the folder on C:, looked at it there and it
was the old version. What the......?????? I copied the version from the server
to another folder (C:\Temp) and that ran fine. Copied from C:\Temp to the file's
normal home on C: and got the error message again! Bizarre. Here’s the best….I
deleted the MDB and ran it from the Windows icon that the users use, waiting for
the Windows error that it was trying to run a non-existent file. But no, it
still ran and gave the error. So now it’s running a file which doesn’t exist.
Now beginning to doubt the evidence of my own eyes. Flushed recycle bin, deleted
temporary files, switched pc off and back on. No change. Renamed the MDB and it
ran fine. Renamed it back to its original name and got the error. Logged on as
different user and the same file ran fine. Decided I’d lost it and went and sat
in a darkened room going la, la, la, la.

By now it was dawning on me that Windows had to be caching the old MDB and
running that so I Googled "windows 7 running cached version" and found the
solution. Go to

C:\Users\this user\AppData\Local\VirtualStore

and there’s the cached copy. Delete that and all is well.

Who knew? No doubt all of you, but it's a new one on me. I'm posting this to
help anyone else who has this happen but also to ask if there is a way to
prevent it as it totally interferes with any version management you might have.
Anyone got the answer?

Cheers

Andy



More information about the AccessD mailing list