dotConnect Express Edition - License Issue

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
ilumnoInt
Posts: 4
Joined: Tue 11 Jul 2017 19:50

dotConnect Express Edition - License Issue

Post by ilumnoInt » Fri 14 Jul 2017 20:00

Hi,

I have downloaded and installed dotConnect for Oracle express edition.
I am trying to test the connection to the server, but I am getting License issues.
{Devart.Common.LicenseException: Feature is not supported.
...
}

Code: Select all

            var builder = new Devart.Data.Oracle.OracleConnectionStringBuilder();
            builder.Direct = true;
            builder.Server = "MyIpServer";
            builder.ServiceName = "Service.Name";
            builder.UserId = "dbUser";
            builder.Password = "dbPwd";
            builder.LicenseKey = @"..."; // that is "Activation Key" in Customer Portal

            var conn = new Devart.Data.Oracle.OracleConnection(builder.ConnectionString);
            conn.Open();
Do I need a LicenseKey for Express edition? How do I get it?

BR

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

Re: dotConnect Express Edition - License Issue

Post by Shalex » Mon 17 Jul 2017 17:31

ilumnoInt wrote:Do I need a LicenseKey for Express edition?
No, you don't. Express edition requires neither License Key, nor licenses.licx.

JIC: viewtopic.php?f=1&t=35661#p124077

ilumnoInt
Posts: 4
Joined: Tue 11 Jul 2017 19:50

Re: dotConnect Express Edition - License Issue

Post by ilumnoInt » Mon 17 Jul 2017 21:29

My example was created follwing the walkthrough explained in viewtopic.php?t=35459#p123288

I've left the property LicenseKey empty due to I have no license.

Code: Select all

builder.LicenseKey = @"";
When I run my console application I still get the error.
Devart.Common.LicenseException: 'Feature is not supported.'
This is how my project file looks like

Code: Select all

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp1.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Devart.Data.Oracle.EFCore" Version="9.4.314" />
  </ItemGroup>

</Project>
I am missing something?

Thanks.

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

Re: dotConnect Express Edition - License Issue

Post by Shalex » Tue 18 Jul 2017 11:30

1. Please employ trial license file C:\ProgramData\Devart\dotConnect\License\devart.data.oracle.key, it is created automatically by dotConnect for Oracle Professional Trial installation (download link). For more information, refer to https://www.devart.com/dotconnect/oracl ... ndard.html. Does this help?

2. JIC: Express version includes neither .NET Standard (.NET Core) nor Entity Framework support.
Express version: https://www.nuget.org/packages/dotConne ... or.Oracle/
Licensed version: https://www.nuget.org/packages/devart.d ... ore.design

Post Reply