MethodAccessException

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

MethodAccessException

Post by EddieB » Tue Jun 05, 2007 10:51 am

Hi All,

I have an application which creates a TChart form through a BackGroundWorker in C#. Everything seems to work ok, except when I try to run on a Network.
Running on a network give the following message :-"An exception of type 'System.MethodAccessException' occurred in mscorlib.dll but was not handled in user code."
I seem to get this error message when I am Creating my chart form.
Any help would be much appreciated.

Cheers
EddieB

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

Post by Narcís » Tue Jun 05, 2007 10:57 am

Hi EddieB,

Using a .NET application remotelly involves some security issues. Here you'll find a thread about a customer who had a similar problem. However, when you are deploying your application in VS.NET, you can go to the Build menu and select “Publish NameOfYourProject”. This should help you on achieving what you request.
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

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

Post by EddieB » Tue Jun 05, 2007 12:14 pm

Hi Narcís,

I cannot use the "Publish" method to create my application.
I currently create an executable which I then deploy using something like
Installshield.

If I use the "Publish" method to build my application, it gives me a setup to run, but I need to include some data files.

Is there any other way round my problem?

Cheers
Eddie

Post Reply