Object reference not set to an instance of an object
Posted: Tue Jun 28, 2011 8:25 pm
Hi,
We use tchart.Net 2.0.2306.26231 in our application
On the development environment, where I have it installed, everything works fine.
But when I deploy my application and open the form which contains the tchart component, I get the following error message: “Object reference not set to an instance of an object.”
The error is coming from the line where a new instance of tchart is created. “this.tChart = new Steema.TeeChart.TChart();”
I’m deploying together with my app files the “TeeChart.dll”
Do I need to add any other dll? Or register any tchart related file?
I tried installing my tchart development pack in the deployment machine, and after that it works fine. But of course I can’t install it on clients machine… right?
Any suggestions on what I should do? Or what I’m doing wrong?
Also I created small application (just put on the form TChart component) and I had the same error.
But I Could see problem may into GetLicense method.
Thanks!
Monica A.
We use tchart.Net 2.0.2306.26231 in our application
On the development environment, where I have it installed, everything works fine.
But when I deploy my application and open the form which contains the tchart component, I get the following error message: “Object reference not set to an instance of an object.”
The error is coming from the line where a new instance of tchart is created. “this.tChart = new Steema.TeeChart.TChart();”
I’m deploying together with my app files the “TeeChart.dll”
Do I need to add any other dll? Or register any tchart related file?
I tried installing my tchart development pack in the deployment machine, and after that it works fine. But of course I can’t install it on clients machine… right?
Any suggestions on what I should do? Or what I’m doing wrong?
Also I created small application (just put on the form TChart component) and I had the same error.
But I Could see problem may into GetLicense method.
Thanks!
Monica A.