Page 1 of 1

TeeChart.NET V3 Licensing Problem on Windows 7 64Bit

Posted: Tue Nov 01, 2011 5:27 pm
by 13048239
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

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

Posted: Wed Nov 02, 2011 2:58 pm
by 10050769
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,

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

Posted: Wed Nov 02, 2011 7:18 pm
by 13048239
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

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

Posted: Thu Nov 03, 2011 10:06 am
by 10050769
Hi Michael,

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

Thanks,