Hi,
We try to migrate our .Net solution (Teechart v8) with the new Teechart v2010 component.
We have used Project upgrade utility to upgrade our project. Migration was done successfully but now, the project does'nt work (no compilation error, references ok (Teechart 2010)) but it crash in InitializeComponent method.
We can't send you source code because project is huge and uses WebService references.
Why does our project works fine with v8 and not with v2010 ? How can we solve it ?
Regards,
Guilz
v8->v10 migration : InitializeComponent crash with .Net
Re: v8->v10 migration : InitializeComponent crash with .Net
Hi Guilz,
There was a customer who had the same problem some time ago.
Googling a little bit we found that the Loaderlock exceptions can be deactivated as explained here: Go to Debug\Exceptions and deactive the "Thrown" checkbox at "Managed Debugging Assistants\LoaderLock"
At the same time, the customer told us that the problem was solved by changing the platform target in Build of Project properties from Any CPU to x86.
If you still have problems with it, please don't hesitate to let us know.
There was a customer who had the same problem some time ago.
Googling a little bit we found that the Loaderlock exceptions can be deactivated as explained here: Go to Debug\Exceptions and deactive the "Thrown" checkbox at "Managed Debugging Assistants\LoaderLock"
At the same time, the customer told us that the problem was solved by changing the platform target in Build of Project properties from Any CPU to x86.
If you still have problems with it, please don't hesitate to let us know.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: v8->v10 migration : InitializeComponent crash with .Net
Thank you Yeray - Unchecking "Managed Debugging Assistants\LoaderLock" solve this issue. It is not necessary to change the platform target for me.
Happy new year to you
Guilz
Happy new year to you
Guilz
Re: v8->v10 migration : InitializeComponent crash with .Net
Hi Guilz,
Happy new year to you too!
Happy new year to you too!
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: v8->v10 migration : InitializeComponent crash with .Net
I also experienced the same issue when the form closed (form object was deleted).
in order to overcome it i used the following code
where axTChart1 is the chart object.
I don't think that turning this alert off is a good way to go...
I'm using VS2010 with teechart2010.dll
Harel M.
in order to overcome it i used the following code
Code: Select all
private void MainForm_FormClosed(object sender, FormClosedEventArgs e)
{
axTChart1.Dispose();
axTChart1 = null;
}
I don't think that turning this alert off is a good way to go...
I'm using VS2010 with teechart2010.dll
Harel M.
Re: v8->v10 migration : InitializeComponent crash with .Net
Hi Harel,
Thank you for sharing.
Thank you for sharing.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |