I am experiencing a very odd issue, getting "write conflict" errors after some simple updates, which ONLY occur in a runtime version of MS Access. Note that in this application Access is only a used as a Front End, the back end is SQL Server, with connection string of each table being: Description=Pilot;DRIVER=ODBC Driver 17 for SQL Server;SERVER=sql01;Trusted_Connection=Yes;APP=Microsoft Office;DATABASE=JCDC_pilot_DEV;
We have had this application working for years, and maintain both a prod and dev SQL back-end databases. MS Access is hosted through separate RDP environments, one of which (for external users), only has run-time version of MS Access, which automatically opens accdb files as if they were accde files (the other has full version of MS Access)
Recently, we added some additional validation logic, testing it in Dev, and when we were ready to update the Dev FE to a Prod FE by updating the linked table manager to point to "Prod" database, all works and tests fine for Dev (FE and SQL DB), as does the Prod (FE and SQL database) when being run in RDP environment with full version of MS Access - notably, it even works when saved as an accde (runtime version). It is ONLY when I re-link the tables to Production SQL back end that I get "write conflict" errors ONLY in the RDP environment with run-time version of Access. Furthermore, the Access FE with Dev SQL DB works fine in the RDP environment with run-time version of Access.
In troubleshooting, it seemed evident that it WAS NOT the added Access VBA code that was the culprit of the issue, but rather the linked table refresh. Even with no code changes (to latest working prod Access FE), it yields the "write conflict" error to any edit made in the Access FE (in run-time environment ONLY).
I've tried a number of workarounds without success, and keep getting the same error in the specific circumstances described above. The only changes made to the structure was adding a boolean flag (to one of three primary data tables), and timestamps to the three primary data tables. But what is s confusing is that the Dev version DOES NOT throw the "write conflict" error (even in the RDP environment with runtime version of Access)
Does anyone have suggestions, or some additional ways to troubleshoot the cause of the specifics of the "write conflict" cause?
Any help would be greatly appreciated