Rank: Newbie
Groups: Guest
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
|
|
|
|
Rank: Advanced Member
Groups: Guest
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.
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 3/20/2009(UTC) Posts: 5
|
Thanks Dmitry.
Upgrade to version 5.5.6 solved the problem.
/Martin Åkesson
|
|
|
|
Rank: Newbie
Groups: Guest
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.
|
|
|
|
Rank: Advanced Member
Groups: Guest
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.
|
|
|
|
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.