Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
R0m  
#1 Posted : Thursday, March 5, 2020 8:12:31 AM(UTC)
R0m

Rank: Newbie

Groups: Member
Joined: 3/4/2020(UTC)
Posts: 3

Hi! I'm using the latest version of Graphics Mill from the Nuget. I got the trial license from my account and registered it using LicenseManager as described here https://www.graphicsmill...uating-graphics-mill.htm
Now I have 2 problems.
Problem #1. The active license in null.
I'm testing the sample code https://www.graphicsmill...ense-keys.htm#Validation
Quote:
Graphics Mill 10 allows you to check the following license parameters:
var lic = Aurigma.GraphicsMill.Licensing.License.Current;
Console.Write(System.String.Format("{0};{1};{2};{3};{4};{5};",
lic.Source, // a license key
lic.IsTrial, // whether this is an evaluation license
lic.ExpirationDate, // the license expiration date
lic.MaintenanceExpirationDate, // the maintenance period
lic.IsDeveloper, // whether this is a Developer license
lic.IsDesktopOnly // whether this license is for desktop use only
));


However, Aurigma.GraphicsMill.Licensing.License.Current is always null. I can't test the license and its expiration date in code.
I also tried to register my license programmatically as described here https://www.graphicsmill...-license-keys.htm#source
But still I get null.

Problem #2. The application runs only on development machine.
We need to test the desktop app at another computer with "production" environment. However, I get exception:
Quote:
Aurigma.GraphicsMill.Licensing.LicenseException: No license key has been found.


Please help me to solve these issues.
VictorTolstov  
#2 Posted : Thursday, March 5, 2020 8:41:14 AM(UTC)
VictorTolstov

Rank: Member

Groups: Member, Administration, Moderator
Joined: 11/14/2019(UTC)
Posts: 20

Was thanked: 1 time(s) in 1 post(s)
Hello Ramil,

Pay attention to the correct assembly for desktop applications using licx file

Documentation link: https://www.graphicsmill...on-license-keys.htm#licx

If you have any questions, you can ask them.

Regards, Victor
R0m  
#3 Posted : Thursday, March 5, 2020 8:54:50 AM(UTC)
R0m

Rank: Newbie

Groups: Member
Joined: 3/4/2020(UTC)
Posts: 3

Thank you, but I already tried it. In this case I get build error:
Quote:
Error. Exception occurred creating type 'Aurigma.GraphicsMill.Bitmap, Aurigma.GraphicsMill, Version=10.1.101.0, Culture=neutral, PublicKeyToken=f4bbbf243f314012' Aurigma.GraphicsMill.Licensing.LicenseException: This license type cannot be embedded into the assembly. For more information, please visit https://www.graphicsmill.com/desktop-license

Any other ideas?
VictorTolstov  
#4 Posted : Thursday, March 5, 2020 9:22:20 AM(UTC)
VictorTolstov

Rank: Member

Groups: Member, Administration, Moderator
Joined: 11/14/2019(UTC)
Posts: 20

Was thanked: 1 time(s) in 1 post(s)
This is due to the fact that the trial key is not suitable for a desktop application

The documentation for the link in error says that: To embed a license key into an assembly, you need a Developer, Desktop Applications license. Such a key must be in the registry at the compilation time.

Regards, Victor
R0m  
#5 Posted : Thursday, March 5, 2020 9:28:11 AM(UTC)
R0m

Rank: Newbie

Groups: Member
Joined: 3/4/2020(UTC)
Posts: 3

Thank you for quoting the documentation. However, your advice does not solve any of my issues.
Quote:
This is due to the fact that the trial key is not suitable for a desktop application

How can I evaluate this product for a desktop application then?
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.