dotConnect Express Edition - License Issue

dotConnect Express Edition - License Issue

Postby 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
ilumnoInt
 
Posts: 4
Joined: Tue 11 Jul 2017 19:50

Re: dotConnect Express Edition - License Issue

Postby 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: http://forums.devart.com/viewtopic.php?f=1&t=35661#p124077
Shalex
Devart Team
 
Posts: 7780
Joined: Thu 14 Aug 2008 12:44

Re: dotConnect Express Edition - License Issue

Postby ilumnoInt » Mon 17 Jul 2017 21:29

My example was created follwing the walkthrough explained in http://forums.devart.com/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.
ilumnoInt
 
Posts: 4
Joined: Tue 11 Jul 2017 19:50

Re: dotConnect Express Edition - License Issue

Postby 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/oracle/docs/?LicensingStandard.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/dotConnect.Express.for.Oracle/
Licensed version: https://www.nuget.org/packages/devart.data.oracle.efcore.design
Shalex
Devart Team
 
Posts: 7780
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle