One of the new features that was introduced in the latest release of Linx 4 (4.0.763.3705), is the ability for the user to specify the data directory that is used by the server to store solution and log files. In previous versions, these files were stored in subdirectories of the specified installation path (usually C:\Program Files (x86)\Twenty57 Linx 4\bin\Solutions and C:\Program Files (x86)\Twenty57 Linx 4\bin\Log).
Please note that the following rules apply during installation:
- If you upgrade an existing Linx installation (with valid solutions) to the latest version, your solutions and logs will remain in their current location.
- For new installations, solutions and logs will be saved in the ProgramData folder (%programdata%\Twenty57\Linx 4).
You can override the default data location by making use of the "ServerDataPath" configuration setting. Add the setting (with a valid path) to your service configuration file (Twenty57.Linx.Server.Service.exe.config).
For example:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="ServerDataPath" value="D:\PutStuffHere" />
</appSettings>
</configuration>
If you've performed an upgrade to an existing Linx installation and want to make use of a different data directory, you can move your current "Solutions" and "Log" directories to one of the locations outlined above (either the default ProgramData location, or the custom ServerDataPath location). Please ensure that the Linx service is not running while performing this operation.