TeeChart.NET V3 Licensing Problem on Windows 7 64Bit

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Michael Breu
Newbie
Newbie
Posts: 8
Joined: Wed Feb 06, 2008 12:00 am
Location: Austria
Contact:

TeeChart.NET V3 Licensing Problem on Windows 7 64Bit

Post by Michael Breu » Tue Nov 01, 2011 5:27 pm

Hello,

We have a problem with licensing in Windows 7 64Bit.

We have developped since 4 years an application on VS 2005.

Now we have upgraded our development machines to Windows 7 64 Bit.

We reinstalled VS2005 without major problems.
However we get a licensing exception:

Code: Select all

WindowsApplication2>msbuild
Microsoft (R)-Buildmodul, Version 2.0.50727.5420
[Microsoft .NET Framework, Version 2.0.50727.5448]
Copyright (C) Microsoft Corporation 2005. Alle Rechte vorbehalten.

Der Buildvorgang wurde um 01.11.2011 18:07:37 gestartet.
__________________________________________________
Projekt C:\Users\Michael Breu\Documents\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\WindowsApplication2.vbproj (Standardziele):

CoreResGen-Ziel:
    Es gibt keine Ressourcen, die im Hinblick auf ihre Quelldateien veraltet sind. Die Ressourcengenerierung wird übersprungen.
CompileLicxFiles-Ziel:
    C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\bin\LC.exe /target:WindowsApplication2.exe /complist:"My Project\licenses.licx" /outdir:obj\Debug\ /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /i:C:\Windows\
Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Design.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.
Drawing.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Web.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /i:"C:\Program Files (x86) \Steema Software\TeeChart for .NET v3\TeeChart.dll"
    My Project\licenses.licx(1): error LC0004: Exception occurred creating type
'Steema.TeeChart.Chart, TeeChart, Version=3.5.3498.27367, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Erstellen des CompileLicxFiles-Ziels in Projekt WindowsApplication2.vbproj beendet - Fehler beim Erstellen.

Erstellen des Projekts WindowsApplication2.vbproj beendet - Fehler beim Erstellen.

Fehler beim Buildvorgang.
My Project\licenses.licx(1): error LC0004: Exception occurred creating type 'Steema.TeeChart.Chart, TeeChart, Version=3.5.3498.27367, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
    0 Warnung(en)
    1 Fehler

Vergangene Zeit 00:00:00.99

C:\Users\Michael Breu\Documents\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2>
Sorry: this is a German localization, however the major error is: 'Steema.TeeChart.Chart, TeeChart, Version=3.5.3498.27367, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' System.NullReferenceException during license creation.

I have retried various hints: Reinstallation of the TeeChart as Administrator, Looked on Tutorial 17, Installed 64Bit-Version of TeeChart, but nothing changed.

Any Idea what get's wrong?

Michael

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: TeeChart.NET V3 Licensing Problem on Windows 7 64Bit

Post by Sandra » Wed Nov 02, 2011 2:58 pm

Hello Michael,

This is probably that the design-time license is not properly installed on that machine. So, I recommend follow the steps you can find here to try to solve your problem. Moreover, When you want compile to 64-bits, you need specific assembly x64 that you can find in the Download Customer page.

If previous suggestion, doesn't solve your problem, please let me know.

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Michael Breu
Newbie
Newbie
Posts: 8
Joined: Wed Feb 06, 2008 12:00 am
Location: Austria
Contact:

Re: TeeChart.NET V3 Licensing Problem on Windows 7 64Bit

Post by Michael Breu » Wed Nov 02, 2011 7:18 pm

Hello Sandra,

Thank you for your prompt reply:

This are my results:

1. Make sure that licenses.licx is built as an embedded resource in your project as told in tutorial 17.

That is the case.

2. Reset your machine's AssemblyFolders entry as told here.

There is no TeeChart specific entry in

HKEY_CURRENT_USER\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders

or

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders


3. Check if the NetDemo project shipped with the installation compiles fine at your end.

I found a DemoProject-Folder. It compiles with the same result: NullReferenceException during License generation.

4. Check if invalidating DesignKeyV3 on your machine, as Marc described here, makes any difference.

It makes a difference. If I invalidate the Key, I get a different Error message.

5. You could also use TeeRegister tool, available at the client area, to make sure the design time license is properly installed on your machine.

Ok this finally hits the spot. Now it is up and running.
Thank you for your kind support

Michael

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: TeeChart.NET V3 Licensing Problem on Windows 7 64Bit

Post by Sandra » Thu Nov 03, 2011 10:06 am

Hi Michael,

I am glad that your problem are solved and your application works fine now. :)

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply