Author Topic: Why do I see error messages every time I log in after applying an update?  (Read 6146 times)

Rick Leffler

  • Guest
This post only applies to the Legacy database!

Issue: Error messages when logging in generally say something like "temp_Gen_Section does not exist".  An update overwrites the old ApprovedWorkman.exe file with a newer one and then also places files that start with "temp_" into the ...\Approved Workman\DATA  folder. If these files are not found in the DATA folder when a user logs in after running the update wizard, the result is these error messages.

Solution:  Make sure you have a folder literally named "Approved Workman" (including the space) with a "Data" subfolder inside. (  ...\Approved Workman\Data  )

Also inside the Approved Workman folder should be the ApprovedWorkman.exe application file. (The .exe file extension may not show depending on how Windows Explorer is set up.) The ApprovedWorkman.exe file should NOT be located anywhere else (such as the desktop). It MUST be in the Approved Workman folder.  There can be a shortcut icon on the desktop, but the actual EXE file should NOT be there.

If the ApprovedWorkman.exe file is anywhere other than in the Approved Workman folder, move it to the correct location. Once it is in the Approved Workman folder, dbl-click it to launch the database. On the login screen, the data path (at the bottom) should be:  ..\Approved Workman\Data   (it's ok for it to start with something like "C:" or "E:" or something else so long as it ENDS with  "\Approved Workman\Data" )  Log in completely and then exit. This will "teach" the database where to find the files.

Now do a search for the temp_Gen_Book or temp_Inventory files or whatever the error messages indicated. If they are anywhere other than in the ..\Approved Workman\Data folder, select them and then Cut/Paste them from the current location to the ..\Approved Workman\Data folder. Log in once more and the internal update should run successfully.
« Last Edit: September 12, 2023, 02:41:04 PM by Annette »