Page 1 of 1
TeeChart crashing on VISTA ?
Posted: Wed Mar 14, 2007 10:53 am
by 5886822
Hi,
I just had a new PC with Vista business installed and run my own written application. When instancing an object of type TeeChart, my application crashes.
I have to look for the exact errors, but is there anybody now telling me that there are known compatibility issues ?
Thanks,
Posted: Wed Mar 14, 2007 11:09 am
by narcis
Hi Da Vinci,
There's no known issue regarding TeeChart for .NET v2 in Windows Vista. Are you using the latest TeeChart for .NET v2 maintenance release available at the client area? Which are the errors you are getting?
Thanks in advance.
Posted: Thu Mar 15, 2007 5:03 pm
by 5886822
Hi again,
When I run the demo application of TeeChart, there seems to be no problem, but my application reports the following error :
"System.NullReferenceException: Object reference not set to an instance of an object.
at Steema.TeeChart.FrAccessProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)
at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey)
at System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license)
at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)
at Steema.TeeChart.Chart..ctor()
at Steema.TeeChart.TChart..ctor()
at TEST.BaseModule.PlotWindow.InitializeComponent() at ..."
I use the latest available binaries.
Da Vinci.
Posted: Fri Mar 16, 2007 8:01 am
by narcis
Hi DaVinci,
It seems to me this is not a Vista issue, this is a licensing issue. Could you please read Tutorial17 - Designtime Runtime and License Requirements about how to set TeeChart's license? Tutorials are available at TeeChart's program group.
If problems persists don't hesitate to post them here.
Thanks in advance.
Posted: Fri Mar 16, 2007 3:48 pm
by 5886822
Yes, you are right, it is a licensing issue : I placed the executables on a winXP machine and got the same result.
Kind of strage : in the licenses.lic file, I remark the Steema lines (as requested) with the correct version numbers and the file is embeded in resource.
I look further on this forum to get help, but everything in Tutorial17 has been done (as far concerned my problem).
Thanks for your help,
Da Vinci.
Posted: Fri Mar 16, 2007 3:58 pm
by narcis
Hi DaVinci,
Could you please try doing what's told in
this topic to check whether the license is correctly compiled in your application?
Thanks in advance.
Posted: Mon Mar 19, 2007 2:47 pm
by 5886822
Hi,
After uninstalling the software, cleaning up my previous upgrades etc. I finally succeeded in running my program.
In fact, my software is divided in severel subprojects. One of the subprojects uses TeeChart, resulting in a separate assembly, meaning that the license file was located in the subproject. After adding the license file into my mainproject too, the problem was solved !
I read in Tutorial17 something about 'using TeeChart in dll's', but wasn't aware of the fact that I was in the same situation.
Thank you for your assistance.
Da Vinci.