Describe the bug
Description
if SQL-transport is used and a custom queue schema is configured in the connection string (as described here https://docs.particular.net/servicecontrol/transports#sql), the licensing component fails to use this string with the error:
2024-08-15 01:18:21.9548|17|Error|ServiceControl.Transports.SqlServer.SqlServerQuery|Failed to initialise SqlServerQuery|System.Exception: SQL Connection String could not be parsed.
---> System.ArgumentException: Keyword not supported: 'queue schema'.
Expected behavior
the main connection string can also be used by the licensing component
Actual behavior
fails to work with the error above
Versions
ServiceControl 5.6.1
ServicePulse 1.41.0
Steps to reproduce
- use SQL-transport
- use custom queue-schema in connection string
Relevant log output
No response
Additional Information
Workarounds
Explicitly specify the config key 'LicensingComponent/SqlServer/ConnectionString' with a connection string without the 'queue schema' parameter
Additional information
See #4397 (comment)