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

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
maciekm
Posts: 6
Joined: Fri 06 Oct 2017 13:36

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

Post by maciekm » Fri 06 Oct 2017 13:55

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?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Mon 09 Oct 2017 15:28

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.

maciekm
Posts: 6
Joined: Fri 06 Oct 2017 13:36

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

Post by maciekm » Tue 10 Oct 2017 12:04

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.'
        }

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Tue 10 Oct 2017 16:09

Try running your VS2017 via its Run as administrator context menu. Does this help?

maciekm
Posts: 6
Joined: Fri 06 Oct 2017 13:36

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

Post by maciekm » Wed 11 Oct 2017 08:09

Nope :( can you give me the license key for test? If it will work I will buy one.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Wed 11 Oct 2017 16:50

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?

maciekm
Posts: 6
Joined: Fri 06 Oct 2017 13:36

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

Post by maciekm » Thu 12 Oct 2017 15:22

unfortunately it didn't solve my problem.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Thu 12 Oct 2017 18:23

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?

maciekm
Posts: 6
Joined: Fri 06 Oct 2017 13:36

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

Post by maciekm » Tue 24 Oct 2017 11:54

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

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Tue 24 Oct 2017 18:39

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).

maciekm
Posts: 6
Joined: Fri 06 Oct 2017 13:36

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

Post by maciekm » Fri 27 Oct 2017 12:24

I have better idea - just make blank UWP app targeting build 10586 and let me know if you can establish connection with db.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Mon 30 Oct 2017 16:38

UWP is not supported. There is no timeframe for this feature at the moment. We will notify you about the progress.

Post Reply