Installing multiple instances of Localization cryptography service
- Open the LocalizationCryptographyService.exe. config file.
-
Specify this information:
- ServiceName
- Specify a descriptive name according to its use. For example, Localization Cryptography Service.
- Port
- Specify a port number. For example, http://localhost:8082.
-
Right-click install.ps1
and select Run with Powershell.
Note: If Execution Policy Exchange is displayed, select the appropriate response. Default response is N.
- Exit Powershell after the completed installation.
- Open services.msc.
-
Select the name of the service and start the service.
Note: To switch from one instance to another, you must update the port number in the database:
UPDATE LCS_LST_APP_Parameters
SET Value = 'http://localhost:{newport}/'
WHERE Value = 'http://localhost:8691/'
UPDATE LCS_SMD_DAR_TenantParameter
SET Value = 'http://localhost:{newport}/'
WHERE Value = 'http://localhost:8691/'Note: Replace the value in {newport} with your port number.