TeeChart crashing on VISTA ?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Da Vinci
Newbie
Newbie
Posts: 7
Joined: Sun Dec 02, 2001 5:00 am
Location: Belgium

TeeChart crashing on VISTA ?

Post by Da Vinci » Wed Mar 14, 2007 10:53 am

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,

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Mar 14, 2007 11:09 am

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.
Best Regards,
Narcís Calvet / 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

Da Vinci
Newbie
Newbie
Posts: 7
Joined: Sun Dec 02, 2001 5:00 am
Location: Belgium

Post by Da Vinci » Thu Mar 15, 2007 5:03 pm

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Mar 16, 2007 8:01 am

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.
Best Regards,
Narcís Calvet / 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

Da Vinci
Newbie
Newbie
Posts: 7
Joined: Sun Dec 02, 2001 5:00 am
Location: Belgium

Post by Da Vinci » Fri Mar 16, 2007 3:48 pm

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Mar 16, 2007 3:58 pm

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.
Best Regards,
Narcís Calvet / 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

Da Vinci
Newbie
Newbie
Posts: 7
Joined: Sun Dec 02, 2001 5:00 am
Location: Belgium

Post by Da Vinci » Mon Mar 19, 2007 2:47 pm

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.

Post Reply