Each of the Patriot component programs has its own configuration file containing application and system settings.
The files are located inside the Patriot install directory for each component, typically under C:\Program Files (x86)\Patriot Systems Ltd
When editing the configuration file to change setting values, some special characters must be escaped / encoded, or the configuration file will be detected as invalid.
Special Character | Replacement |
" | " |
' | ' |
< | < |
> | > |
& | & |
For Example, if your SQLPassword is P&t>iot' you would enter:
<setting name="SQLPassword" serializeAs="String">
<value>
P&t>iot'
</value>
</setting>
The Microsoft .NET Framework can run programs in two different modes - 'Workstation' or 'Server'. It is recommended to use the server mode for the data service, especially if using the Concurrent Signal Processing module.
To enable Server GC Mode, edit the DataService config file and add/update the following setting:
<configuration>
…
<runtime>
…
<gcServer enabled="true"/>
…
</runtime>
…
</configuration>
Each of the Patriot component programs has its own configuration file which includes settings that control assembly loading rules. As of Patriot 6.9, binding redirects are mostly automated, however some manual configuration may be needed if the existing configuration files don't contain the required settings.
Assembly bindings defined in the Patriot configuration file instruct Patriot to use the correct version of dependent assembly files. If your assembly bindings are incorrect or missing you will see assembly binding errors in the Windows event log. E.g. if you attempt to use the Patriot ICA or API add-on module without having the correct Data Service configuration your will see an error in the event log when you attempt to browse to your ICA website or access the API:
'Could not load file or assembly 'System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference'
<configuration>
…
<assemblyBinding
xmlns="urn:schemas-microsoft-com:asm.v1">
<linkedConfiguration
href="file:[Path to installation folder]AssemblyBinding.config" />
</assemblyBinding>
…
</configuration>
This same section will need to be copied into each of the following configuration files:
In each case, replace the [Path to installation folder] section with the full path to the current component
You will likely need administrative privileges to write to these files. After making any changes to a component program configuration file you must restart that component program for the changes to take effect. It is recommended when editing configuration files that you copy and paste directly from this document because any minor typing error will result in the configuration file being ignored at program startup.
For more information, see the Patriot Version 6.9 Upgrade Documentation