TChart nework issue when using Windows 2000

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
EddieB
Newbie
Newbie
Posts: 9
Joined: Fri Sep 29, 2006 12:00 am
Location: Glasgow, Scotland

TChart nework issue when using Windows 2000

Post by EddieB » Mon Nov 19, 2007 5:03 pm

Hi,

I have an issue running TChart from a network drive, and running from a PC that has Windows 2K.
I have updated my .Net Security Policy for the TeeChart.dll but I still seem to have problems.

I have managed to catch the exception that is occuring, see below:-

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).

Any Help or advice would be appreciated.

Cheers
Eddie

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Tue Nov 20, 2007 3:09 pm

Hello Eddie,

This may be related to the compilation of your project rather than the actual network security. ...the Win2K test was run locally, correct?

Please check that you're compiling your project with licenses.licx. There are some notes on use in Tutorial 17. Let us know if the steps there don't help.

Regards,
Marc Meumann
Steema Support

EddieB
Newbie
Newbie
Posts: 9
Joined: Fri Sep 29, 2006 12:00 am
Location: Glasgow, Scotland

Post by EddieB » Thu Nov 22, 2007 3:54 pm

Hi Marc,

Thanks for you response, but that is not the issue. I have compiled the project with the Licenses.licx, as I can get it to run on an XP machine from a network server.

I actually found that the problem is related to the running of my application from a shortcut. If I run from a short cut then I have the problem, but if I run straight from my executable then I can run successfully.

Cheers
Eddie

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Fri Nov 23, 2007 10:35 am

Hello Eddie,

Please check that your shortcut runs in the folder where you wish to launch the application if there are any dependant elements in that folder.

Tests here confirm correct running of a NET executable between machines provided that rights are granted to the executable being run (that in turn uses TeeChart) via .NET Framework Configuration policy settings in the machine from where you're running the exe. Policy in the tests was set adding elevated rights (Full Trust or Everything) to the Hash of the exe itself. Further tests might confirm exactly what rights level is required.

We didn't encounter any difference in the behaviour between the exe directly and its shortcut.

Regards,
Marc
Steema Support

Post Reply