Launching - “Documents folder not found” or “lp_solve Error…system error code:2” fatal errors.
When ExtendSim launches it requires the loading of certain files and it expects that those files have been installed at specific locations. If needed files don’t have the correct permissions, or if ExtendSim can’t find the files, ExtendSim will not launch properly.
Common situations that cause problems are:
Someone from IT or an Admin installed the user-modifiable files in a folder under their account rather than in a folder accessible by the end user. Or, they tried to launch ExtendSim from their own account.
The folder containing user-modifiable files does not give the end user or ExtendSim the correct permissions.
The folder that contains user-modifiable files has been moved after installation, so ExtendSim is looking for files at the wrong location.
If ExtendSim issues error messages such as “Documents folder not found” or “lp_solve Error…system error code:2” as it tries to launch or gives a similar error message when end users try to open model or library files:
By default, user-modifiable files (such as examples and libraries) are installed to the UserName\Documents\ExtendSim folder on the C drive. Early ExtendSim 10 releases did not work well if that ExtendSim folder was instead installed to some other drive, such as the D drive or to OneDrive. If that is your situation, update to the most current release.
When you install, you might need to right-click the installer icon and select Run as Administrator. (Even if you are the Administrator, you still might need to do this.)
Verify that the ExtendSim folder that contains user-modifiable files is installed in the end user's account (not an Administrator's account) and that the folder is accessible by the end user.
Check the permissions for the ExtendSim folder that contains user-modifiable files. Depending on it's location, end users need read/write or full access to that folder so they can open, run, and save models.
So that it can properly open needed files, the first time you launch ExtendSim, right-click the application icon and select Run as Administrator. (Even if you are the Administrator, you might still need to do this the first time you launch ExtendSim.)
If the ExtendSim folder that contains user-modifiable files (such as examples and libraries) was properly installed to the end-user account, ExtendSim needs to be launched from that account, not from the Administrator's account.
So that ExtendSim will know where user-modifiable files are located, the installer places an ExtendSimDocPath.txt file at Program Files\ExtendSim. If the ExtendSim folder with user-modifiable files files was moved after installation, modify the file ExtendSimDocPath.txt file to indicate the new location.