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
license error
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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 |
Instructions - How to post in this forum |
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.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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 |
Instructions - How to post in this forum |
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).
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).
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
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
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.