Background:
Several MDB Apps developed over 2 decades starting from; Office 97, and progressing through 2000, XP, 2003 and now 2016 ... up until switching to 2016 on Win X, these apps have been fairly stable ... recently they have been plagued with corruption events usually as a result of updates with MS WX auto restarting. All these apps have a FE monitor that allows for remote (ADMIN) shutdown so recently added a scheduled shutdown feature which appears to have quieted down users complaints until today (Note: these apps must remain in MDB format to allow use from machines still licensed with Access 2003)
Configuration:
Intranet: 10 local + 3 vpn with mixture of Win 7 and Win 10 machines (MAX connections to any given app never exceed 6)
Windows 7 Pro 64b machines are licensed with (Office Pro) Access 2003
Windows 10 Pro 64b machines are licensed with (Office Pro) Access 2016 (32b installed for mdb application compatibility)
MDB's with:
BE on shared network drive
FE on Local Machines with copy on shared network drive
Admin BE on shared network drive
all tables are Linked to BE
Scheduled Nightly Auto Shutdown issued to all running apps (all running FEs monitor an admin BE for remote shutdown requests) ... this allows backups and MS updates to proceed without bumping in to open applications
Issue:
This morning, even though one particular application started fine on multiple machines, one of the machines would not start until it completed a Compact and Repair which failed because C&R requires EXCLUSIVE rights (not possible because other machines were already running the app) ... recovery required system wide shutdown to all running apps, allowing Access to do the C&R on the offending machine then restarting the application on the other machines ... users notably upset with interruption
Looking for better Solution(s):
Suspecting the local FE became corrupted for whatever reason(s). Regardless, could overwriting the local FE with the network copy of the FE be a potential solution ... if so, would this have to be done at every startup OR is there some way to trap this C&R error? Perhaps there is a way to query the state of an MDB externally and on error copy over the FE?
OR
Perhaps there is some Windows API available that could be monitored for pending MS UPDATE Shutdown requests that could be used to trigger the apps shutdown logic
Other ideas would certainly be welcome.
Recently started testing reLink Logic to help resolve the biggest issue with Networked BEs ... specifically ... if the shared machine reboots or the network is interrupted while apps are open it causes all open apps to become unstable and potentially corrupted ... this machine has been configured for manual updates PLUS it as well as all the associated network gear are on a huge capacity UPS ... SO ... the only way it reboots is if it fails, encounters an extended power outage OR someone physically restarts it. Essentially, the relink logic is supposed to periodically test links to the BE ... if the link fails the application is supposed to gracefully shut down ... this logic is still in development