Invalid access to memory location

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
mgc
Newbie
Newbie
Posts: 8
Joined: Fri Nov 02, 2007 12:00 am

Invalid access to memory location

Post by mgc » Thu Mar 27, 2008 10:02 am

Hi

When i add a series to a chart i get the following exception:

Invalid access to memory location: (Exception from HRESULT: 0x800703E6)

Please help.

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 Mar 27, 2008 10:17 am

Hi mgc,

Which exact TeeChart version are you using and in which development environment? Does this occur at designtime or at runtime?

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

mgc
Newbie
Newbie
Posts: 8
Joined: Fri Nov 02, 2007 12:00 am

Post by mgc » Thu Mar 27, 2008 10:34 am

Hi

Thanks for the reply.

My current TeeChart version is 3.2.2831.26851 and the problem occurs runtime.

The machine i have developed the application on has no problem running the application, but when i run the application on my target pc it fails.

Best Regard
mgc

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 Mar 27, 2008 10:43 am

Hi mgc,

Thanks for the information.

First of all, please notice there's a newer version of TeeChart available as announced here.

Could you please then read this thread to check if the TeeChart design-time license is properly compiled in your application?

If the problem persists could you please send us a simple example project we can run "as-is" to reproduce the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload 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

mgc
Newbie
Newbie
Posts: 8
Joined: Fri Nov 02, 2007 12:00 am

Post by mgc » Thu Mar 27, 2008 11:15 am

Hi

I haven't tried the new TeeChart version, but thanks for the heads up.

I have tried to run the application on my development machine, with an altered text i the DesignKeyV3 entry in the registration database and it still runs.

I uploaded two files via the upload page link, a zip file with the entire visual studio solution and a picture with of the error message.

Hope this can locate the error.

Best Regards
mgc

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 Mar 27, 2008 11:32 am

Hi mgc,
I have tried to run the application on my development machine, with an altered text i the DesignKeyV3 entry in the registration database and it still runs.
In that case this indicates the designtime license is not properly installed on your machine. On the development machine you could try running TeeRegister tool, available at the client area, and make the licensing tests again.
I uploaded two files via the upload page link, a zip file with the entire visual studio solution and a picture with of the error message.
Thanks for the example project. I don't see any problem with it and should work fine. Alternatively you could try creating series like this:

Code: Select all

        private void Form1_Load(object sender, EventArgs e)
        {
            try
            {
                FastLine line = new FastLine(tChart1.Chart);
								//tChart1.Series.Add(line);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
        }
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

Post Reply