Page 1 of 1

Devart.Common.LicenseException: 'Feature is not supported.' .net standard

Posted: Fri 06 Oct 2017 13:55
by maciekm
im getting this exception "Devart.Common.LicenseException: 'Feature is not supported.'" I have installed Trial version and license key exist in :\\ProgramData\\Devart\\dotConnect\\LicenseDevart.Data.PostgreSql.key

any advices?

Re: Devart.Common.LicenseException: 'Feature is not supported.' .net standard

Posted: Mon 09 Oct 2017 15:28
by Shalex
1. Have you ever installed dotConnect for PostgreSQL Professional Trial on your workstation before?

2. Make sure that datetime settings on your machine are up-to-date.

3. We have just sent the new Devart.Data.PostgreSql.key to your email. Replace your C:\ProgramData\Devart\dotConnect\License\Devart.Data.PostgreSql.key with the one attached.

Re: Devart.Common.LicenseException: 'Feature is not supported.' .net standard

Posted: Tue 10 Oct 2017 12:04
by maciekm
1. No
2. I'm sure
3. Done - same problem.
It's .net core console app targeting .net core 1.0, code:

Code: Select all

        static void Main(string[] args)
        {
            string pgConnectionString = "my connection string";
            PgSqlConnection myConn = new PgSqlConnection(pgConnectionString);
            myConn.Open();//throws Devart.Common.LicenseException: 'Feature is not supported.'
        }

Re: Devart.Common.LicenseException: 'Feature is not supported.' .net standard

Posted: Tue 10 Oct 2017 16:09
by Shalex
Try running your VS2017 via its Run as administrator context menu. Does this help?

Re: Devart.Common.LicenseException: 'Feature is not supported.' .net standard

Posted: Wed 11 Oct 2017 08:09
by maciekm
Nope :( can you give me the license key for test? If it will work I will buy one.

Re: Devart.Common.LicenseException: 'Feature is not supported.' .net standard

Posted: Wed 11 Oct 2017 16:50
by Shalex
Please copy C:\ProgramData\Devart\dotConnect\License\Devart.Data.PostgreSql.key to your project folder and add "license key = trial:C:/AbsolutePathToYourProjectFolder/Devart.Data.PostgreSql.key;" to the connection string. Does it work now?

Re: Devart.Common.LicenseException: 'Feature is not supported.' .net standard

Posted: Thu 12 Oct 2017 15:22
by maciekm
unfortunately it didn't solve my problem.

Re: Devart.Common.LicenseException: 'Feature is not supported.' .net standard

Posted: Thu 12 Oct 2017 18:23
by Shalex
1. Run your project in the debug mode, navigate to Debug > Windows > Modules and tell us the Version and Path values of Devart.Data.dll and Devart.Data.PostgreSql.dll loaded in the process of your application.

2. Specify the full stack trace of the exception.

3. Try running the compiled binary of your application (*.exe) via its Run as administrator context menu. Does this make any difference?

Re: Devart.Common.LicenseException: 'Feature is not supported.' .net standard

Posted: Tue 24 Oct 2017 11:54
by maciekm
Devart.Data.dll version 5.00.1738.0 path: C:\Users\xxxxx\.nuget\packages\devart.data\5.0.1738\lib\netstandard1.3\Devart.Data.dl

Devart.Data.PostgreSql.dll 7.09.946.0 path: C:\Users\xxxxx\.nuget\packages\devart.data.postgresql\7.9.946\lib\netstandard1.3\Devart.Data.PostgreSql.dll


Devart.Common.LicenseException: Feature is not supported.
at d.le.clv.Vld(Int32 pe)
at Devart.Data.PostgreSql.i.l()
at Devart.Data.PostgreSql.i..ctor(PgSqlConnectionOptions A_0)
at Devart.Data.PostgreSql.h.a(i A_0, Object A_1, DbConnectionBase A_2)
at Devart.Common.DbConnectionFactory.a(DbConnectionPool A_0, i A_1, DbConnectionBase A_2)
at Devart.Common.DbConnectionPool.a(DbConnectionBase A_0)
at Devart.Common.DbConnectionPool.GetObject(DbConnectionBase owningConnection)
at Devart.Common.DbConnectionFactory.b(DbConnectionBase A_0)
at Devart.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
at Devart.Common.DbConnectionBase.Open()
at Devart.Data.PostgreSql.PgSqlConnection.Open()
at dbtestapp1.Program.Main(String[] args) in c:\users\xxxxx\source\repos\dbtestapp1\dbtestapp1\Program.cs:line 15

Re: Devart.Common.LicenseException: 'Feature is not supported.' .net standard

Posted: Tue 24 Oct 2017 18:39
by Shalex
1. Try running the compiled binary of your application (*.exe) via its Run as administrator context menu. Does this make any difference?

2. Why are you using an outdated version (7.09.946)? Try the newest version of the package (7.9.980).

3. Does the issue persist with the newly created project? If yes, please upload a small test project with a compiled binary to ftp://ftp.devart.com (credentials: anonymous / yourEmail).

Re: Devart.Common.LicenseException: 'Feature is not supported.' .net standard

Posted: Fri 27 Oct 2017 12:24
by maciekm
I have better idea - just make blank UWP app targeting build 10586 and let me know if you can establish connection with db.

Re: Devart.Common.LicenseException: 'Feature is not supported.' .net standard

Posted: Mon 30 Oct 2017 16:38
by Shalex
UWP is not supported. There is no timeframe for this feature at the moment. We will notify you about the progress.