Problem with Delphi.NET: "Attempt to access the methode

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Vorwerk
Newbie
Newbie
Posts: 12
Joined: Mon Feb 12, 2007 12:00 am
Location: Reinbek, Germany
Contact:

Problem with Delphi.NET: "Attempt to access the methode

Post by Vorwerk » Thu Feb 21, 2008 10:58 am

Hello,

i have a Problem.
I have a Delphi.NET Project with one TeeChart Component. In Januar it runs fine. Now, i don't change the project but the project doesn't run.
In the initialize block I get the error:
System.MethodAccessException - "Attempt to access the method failed"

Thank you for help!

Best regards

Dirk Vorwerk

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

Post by Narcís » Thu Feb 21, 2008 11:03 am

Hi Dirk,

Could you please send us a simple example project we can run "as-is" to reproduce the problem here and let us know the exact TeeChart for .NET and Delphi versions you are using?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our uploadg page.

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

Vorwerk
Newbie
Newbie
Posts: 12
Joined: Mon Feb 12, 2007 12:00 am
Location: Reinbek, Germany
Contact:

Post by Vorwerk » Thu Feb 21, 2008 11:12 am

Hello,

I uploaded the test-file.
I use TeeChart 2.0.2586.24038 and Delphi.NET Version 10.0.2288.42451 Update 2.

I hope, the information are enough.

Best regards

Dirk Vorwerk

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

Post by Narcís » Thu Feb 21, 2008 2:50 pm

Hi Dirk,

Thanks for the example project. Your project worked fine for me here. It could be a licensing issue. You could try running TeeRegister tool, available at the client area, to register the license again.

Also notice there's a newer TeeChart for .NET v2 build available.
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

Vorwerk
Newbie
Newbie
Posts: 12
Joined: Mon Feb 12, 2007 12:00 am
Location: Reinbek, Germany
Contact:

Post by Vorwerk » Fri Feb 22, 2008 6:24 am

Thank you !

I update my version and i start the registration.
But the problem is the same.
Before a month the same project run, i didn't change everything.

Do you have an other tip?

Thank you for your help.

Best regards

Dirk Vorwerk

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

Post by Marc » Mon Feb 25, 2008 10:21 am

Hello Dirk,

Has any element changed in the setup since you were able to run the project successfully? Has any maintenance been applied to TeeChart and/or Visual Studio since that time? I'm assuming that some element must have changed so we'll need to try to identify what.

Have you tried step-debugging the initialize to see what provokes the error you report?
System.MethodAccessException - "Attempt to access the method failed"
As your project works successfully here perhaps it indicates that there is an invalid environment configuration parameter in your setup.

Regards,
Marc Meumann
Steema Support

Post Reply