Page 1 of 1

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

Posted: Thu Feb 21, 2008 10:58 am
by 9644230
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

Posted: Thu Feb 21, 2008 11:03 am
by narcis
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.

Posted: Thu Feb 21, 2008 11:12 am
by 9644230
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

Posted: Thu Feb 21, 2008 2:50 pm
by narcis
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.

Posted: Fri Feb 22, 2008 6:24 am
by 9644230
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

Posted: Mon Feb 25, 2008 10:21 am
by Marc
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