Yup, that was me. We have a powershell script that runs on a scheduled task that takes care of this problem.
Since we deployed it, we've had zero problems with SOTA.INI becoming corrupt. In our experience, it does seem to be caused by 2 users launching Sage at the same exact time (unlikely), however, the more likely scenario is a user "double-clicking" to launch Sage (if it's a remote app for instance), which causes to instances to write and re-write sota.ini at the same moment, causing the corruption. At least that's my theory.
I'm actually currently working on a mod on the script that will make a copy of the correct sota.ini and keep it handy, as we've noticed that sometimes, the sota.ini doesn't even create the sota.tmp, and we end up with only the corrupt sota.ini, so having a usable backup that we can restore from will help.
(I believe I had shared our script in a previous post)
------------------------------
George Khairallah
CTO | gotomyerp, LLC
george.k@gotomyerp.com | 877-888-5525
http://gotomyerp.com/------------------------------
Original Message:
Sent: 06-03-2019 10:43
From: Kevin Moyes
Subject: Sage 100 SOTA.ini file on terminal server
I seem to remember a post (by Alnoor?) with a theory about how the ini might become corrupt if two users log in to Sage 100 at the same time. The file gets replaced each time, and if it is being re-written while another user is logging in, the second user only gets a partial file, which gets written back (causing the new bad file with missing contents).
Disclaimer: my memory could be wrong though... I don't know the sota.ini file gets replaced each run.
------------------------------
Kevin Moyes
Technical Systems Analyst
Munjal White Consulting Co.
Toronto ON
------------------------------