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

Notification

Icon
Error

Options
Go to last post Go to first unread
Powerinit  
#1 Posted : Wednesday, August 24, 2011 2:17:33 AM(UTC)
Powerinit

Rank: Newbie

Groups: Member
Joined: 3/20/2009(UTC)
Posts: 5

After I upgraded our webbaplication from asp.net 2.0 to asp.net 4.0 Graphics Mill 5.5 does not work anymore. At each attempt to use Graphics Mill I get the following error:


[NullReferenceException: Object reference not set to an instance of an object.]
Aurigma.GraphicsMill.Licensing.LicenseProviderAbstract.LoadLicense(Type licenseType) +36
Aurigma.GraphicsMill.Licensing.LicenseProviderAbstract.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions) +50
System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) +220
System.ComponentModel.LicenseManager.Validate(Type type, Object instance) +49
Aurigma.GraphicsMill.Bitmap..ctor() +127


I have reinstalled Graphics Mill and the license key is registered manually with "Aurigma License Key Registration Wizard". I have also tried to put a lic-file, named Aurigma.GraphicsMill.lic containing the license key, in the /bin directory with no success.

The asp.net 2.0 version of the application on the same server still works fine.

/Martin Åkesson
Dmitry.Obukhov  
#2 Posted : Wednesday, August 24, 2011 2:36:29 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Martin,

1. I would like to recommend you to upgrade your version of Graphics Mill to the last one (5.5.6) which is available to download from our site.

2. As for your current problem. Please follow the instructions in PRB: Embed full license key into the resources with .NET 4.0 topic to resolve it. Please let me know about your results after performing it.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Powerinit  
#3 Posted : Wednesday, August 24, 2011 3:35:44 AM(UTC)
Powerinit

Rank: Newbie

Groups: Member
Joined: 3/20/2009(UTC)
Posts: 5

Thanks Dmitry.

Upgrade to version 5.5.6 solved the problem.

/Martin Åkesson
dbryant  
#4 Posted : Monday, December 5, 2011 7:34:02 AM(UTC)
dbryant

Rank: Newbie

Groups: Member
Joined: 11/29/2011(UTC)
Posts: 1

I tried solution #2 and now I get the error:

Exception occurred creating type 'Aurigma.GraphicsMill.Bitmap, Aurigma.GraphicsMill, Version=5.1.276.0, Culture=neutral, PublicKeyToken=af7154c50c505858' System.NullReferenceException: Object reference not set to an instance of an object.

when I build.

I am using .NET 4.0 in VS 2010.


Dmitry.Obukhov  
#5 Posted : Monday, December 5, 2011 7:12:38 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hi,

The way 2 is for Graphics Mill 5.5.X. As far as I understand you use GM 5.1. In this case, please update to the version 5.5.6.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
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.