You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a new SC installer runs, it checks for other instances already installed and tries to read the config file. This fails if the config file has RemoteInstances listed using single quotes.
Expected behavior
New instance is installed successfully, even if other instances exist.
Versions
ServiceControl V5+
Steps to reproduce
Install ServiceControl (any version)
Update the config file to have single quotes in the RemoteInstance value
Install a new instance of ServiceControl v5+
The installation will fail
Relevant log output
Additional Information
Workarounds
Before installing a new instance, update the config file of any other instances that are using single quotes for RemoteInstance value or setting to use " instead of the single quote
jpalac
changed the title
RemoteIntstance values with single quotes fail to deserialize from v5 onwards
RemoteInstance values with single quotes fail to deserialize from v5 onwards
Aug 19, 2024
johnsimons
added a commit
to Particular/docs.particular.net
that referenced
this issue
Aug 19, 2024
Describe the bug
Description
RemoteIntance values are stored in the config file using single quotes:
From SC version 5 Newtonsoft.Json has been replaced with System.Text.Json and that does not support single quotes.
When a new SC installer runs, it checks for other instances already installed and tries to read the config file. This fails if the config file has RemoteInstances listed using single quotes.
Expected behavior
New instance is installed successfully, even if other instances exist.
Versions
ServiceControl V5+
Steps to reproduce
Relevant log output
Additional Information
Workarounds
Before installing a new instance, update the config file of any other instances that are using single quotes for RemoteInstance value or setting to use " instead of the single quote
The text was updated successfully, but these errors were encountered: