I am having problems running a C# application which uses mschart 6.0 on
machines with just .NET Framework installed.
If I run this application on a machine with the full Visual Studio .NET 7.0
installed then it runs just fine.
My application is very simple, I have a form and added the mschart 6.0 (an
activeX control) onto the form without
any code changes. I then compiled the project and copied the following
files to a machine with just .NET Framework installed:
- the generated exectuable
- AxInterop.MSChart20Lib.dll
- Interop.MSChart20Lib.dll
Once I run the generated executable I am getting the following error:
"Application has generated an exception that could not be handled.
Process id=0x960(2400), Thread id=0x504(1284)"
I even went as far as creating a dialog application in Visual C++ 6.0 and
added the same mschart object on the dialog.
This app runs just fine on the same machine with just .NET Framework
installed which proves that the ActiveX control
was registered correctly.
I have also confirmed that this problem exists only for the mschart activeX
control. I created another
C# form and added other ActiveX Control such as DateTimePicker and it worked
just fine on the machine with just
.NET Framework installed.
Any help is greatly appreciated.
The Storyteller - 16 Sep 2005 11:03 GMT
Same problem in VB.net.
>I am having problems running a C# application which uses mschart 6.0 on
> machines with just .NET Framework installed.
[quoted text clipped - 32 lines]
>
> Any help is greatly appreciated.
The Storyteller - 16 Sep 2005 15:50 GMT
Mschart20.dll have a dipendence. In detail msdatasrc.dll. Put in executable
folder and try.
A great thanks to my collaborator Arianna.
>I am having problems running a C# application which uses mschart 6.0 on
> machines with just .NET Framework installed.
[quoted text clipped - 32 lines]
>
> Any help is greatly appreciated.