license error

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
sring
Newbie
Newbie
Posts: 15
Joined: Thu Jun 30, 2005 4:00 am

license error

Post by sring » Thu Dec 07, 2006 9:48 pm

I am suddenly getting the following error, and I haven't been able to figure out how to make it go away. Any idea?

Error 2 Exception occurred creating type 'Steema.TeeChart.Chart, TeeChart, Version=2.0.2511.18118, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' System.MethodAccessException: Attempt to access the method failed. P:\projects\Sinaps2\licenses.licx 1 Sinaps2

A project that had been working started getting this, so I uninstalled and got the latest version. But the error remains. The lines in my .licx file are
Steema.TeeChart.Chart, TeeChart
Steema.TeeChart.TChart, TeeChart

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

Post by Narcís » Mon Dec 11, 2006 11:41 am

Hi sring,

If you have a teechart.dll other than the TeeChart version you are using
pathed under the registry's:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders

or

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders

Please remove the AssemblyFolder entry or update it to the path of the
required version of TeeChart.
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

sring
Newbie
Newbie
Posts: 15
Joined: Thu Jun 30, 2005 4:00 am

Post by sring » Mon Dec 11, 2006 4:46 pm

This didn't help. The problem has something to do with me using a disk from my file server. If I copy the project to a local disk the problem goes away. It only happens when I try and build the project on the server disk. This was working until I installed a number of patches from Microsoft. However, I'm only getting errors from the teechart lines in my license file. The lines from other products still compile ok.

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

Post by Narcís » Mon Dec 11, 2006 4:52 pm

Hi sring,

Ok, then you should do as told in Tutorial 17 - Designtime, Runtime and License Requirements. You'll find the tutorials at TeeChart's program group.
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

sring
Newbie
Newbie
Posts: 15
Joined: Thu Jun 30, 2005 4:00 am

Post by sring » Mon Dec 11, 2006 8:19 pm

I had already gone through all of the suggestions in this tutorial before I wrote the first time.

As I said, there wasn't anything wrong until some microsoft security updates were made. Then I went ahead and updated teechart to see if that would fix things. It didn't, but teechart is the only think in my license.licx file that won't comple (although it compiles fine if I copy everything to a local disk).

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

Post by Marc » Mon Dec 18, 2006 3:40 pm

Hello,

The error message of the first post is the msg that appears at project compile time?

Please could you run a short test to rule-in/out a couple of things:

- create a simple winform project at the serverdrive location you normally use and drag a tchart onto it ...then compile and run it and let us know if it runs ok or not.

The test will help us identify if the problem is generic across projects or just limited to the project with which you are working now.

With thanks.
Regards,
Marc Meumann
Steema Support

sring
Newbie
Newbie
Posts: 15
Joined: Thu Jun 30, 2005 4:00 am

Post by sring » Mon Dec 18, 2006 10:59 pm

I finally figured this out today. Unfortunately, I've tweaked a number of security setting, so I'm not sure exactly which one it was. In any event, the main problem is that IE7 changes the intranet security settings. In IE7 I had to reset the intranet to a lower security. But, I also added intranet security settings to the .net security control panel.

Post Reply