LicenseException with PgSqlAlerter on .net core 2.0
Posted: Wed 24 Jan 2018 12:34
I create PgSqlAlerter like this in .NET Core 2.0 application running on linux (CentOS 7):
Where `cs` is connection string with "License Key" parameter with valid (non-trial) license key. This connection string works for regular database queries, but doesn't work with `PgSqlAlerter` which gives the following exception in `Start`:
Unhandled Exception: Devart.Common.LicenseException: Feature is not supported.
at d.le.clv.Vld(Int32 pe)
at Devart.Data.PostgreSql.PgSqlAlerter.Start()
Is PgSqlAlerter not supported on .NET Core or is it something different?
Code: Select all
_dbListener = new PgSqlAlerter(new PgSqlConnection(cs), _syncItemName);
_dbListener.Alert += OnDatabaseNotification;
_dbListener.Error += OnDatabaseListenerError;
_dbListener.Stopped += OnDatabaseListenerStopped;
_dbListener.Start();
Unhandled Exception: Devart.Common.LicenseException: Feature is not supported.
at d.le.clv.Vld(Int32 pe)
at Devart.Data.PostgreSql.PgSqlAlerter.Start()
Is PgSqlAlerter not supported on .NET Core or is it something different?