Page 1 of 1

Problems installing TChart

Posted: Wed May 02, 2012 8:14 pm
by 9639160
Hi,
I downloaded TChart 4.1.2012.202284 eval version and tried to install it at my Win 7 64 bit PC.
The expected controls do not appear in VS2010 C# Express.
There was a warning saying Error running ...ToolBoxEditor2010.exe unhandled exception : SystemNullReferenceException ...
So looked for a solution and found this:
http://www.teechart.net/support/viewtop ... =4&t=13165
I created a new tab in the toolbox and added "C:\Program Files (x86)\Steema Software\Steema TeeChart for .NET 2012 Evaluation 4.1.2012.02284\net40\x86\TeeChart.dll".
With that the controls do appear in the toolbox. OK.
But when i drag and drop the TChart control to my form, a message pops up saying the TeeChart Evaluation version has expired.
I downloaded the exe today and filled in the numbers from the received mail.
Whats wrong?
Thanks in advance
Pat

Re: Problems installing TChart

Posted: Thu May 03, 2012 8:48 am
by narcis
Hi Pat,

Did you had installed any TeeChart evaluation version in the past on that machine? That could be the reason for the current version saying it has expired. Anyway, I'm going to send you an email with a tool to extend the evaluation period. If the utility says it can't find the expiration date, the problem will probably be that the installer failed when trying to write that date in the register. Then, please, reinstall the component making sure you run it with admin privileges and there is no registry blocking software (anti-virus, anti-spyware,...) running on the machine.

Re: Problems installing TChart

Posted: Thu May 03, 2012 11:49 am
by 9639160
Hello Narcís,
Thank You for the quick replay!
No, its an new PC and Win 7 installation. First time istalled TChart here.
Also tried it at a notebook with Win 7 64 bit, the same behavior!
I deinstalled TChart and deactivated the realtime protection in MS Security Essentials, the only protection tool on the PC.
Than reinstalled TChart with admin rights. Same behavior, same warning and same message with eval period expired!

In the past i worked with TChart very successfully for the old company.
Now i would like to excite my new boss for TChart to buy it for a new project.
Would be great to get it running :D
Would You please post here an email address, where i could answer if necessary?
My old email address deposited by my old tchart license is not working anymore.

Thanks Pat

Edit: Changed my email address in profile :mrgreen:

Re: Problems installing TChart

Posted: Thu May 03, 2012 12:00 pm
by narcis
Hi Pat,

Ok, I forwarded the email I sent you to the new forums address. It's fine for us posting your technical inquiries here. For licensing or sales issues please send an email to sales at steema dot com.

Thanks in advance.

Re: Problems installing TChart

Posted: Fri May 04, 2012 9:04 am
by 9639160
Hi Narcís,
Did You sent me an email to my sunrise address? I got no mail yet , also checked spam. Sorry.
Pat

Re: Problems installing TChart

Posted: Fri May 04, 2012 9:13 am
by narcis
Hi Pat,

Yes, I used the sunrise address. Find attached the EvalExtender tool. Please let me know when you have download it.

Re: Problems installing TChart

Posted: Fri May 04, 2012 10:48 am
by 9639160
OK. I downloaded it.
When i start it, Evalextender sais "Check falied. No eval date found".
Any idea?
Pat

Re: Problems installing TChart

Posted: Fri May 04, 2012 1:41 pm
by yeray
Hi Pat,

I've checked it here and the evaluation extender should create the expiration date if it isn't present. So the "Check falied. No eval date found" shouldn't appear if the utility has access to the registry.
I know you've tried it in two different machines, and this puzzles me, but let me insist asking you to check again you are running the EvalExtender utility with high privileges and no security software is blocking it.

Re: Problems installing TChart

Posted: Fri May 04, 2012 2:27 pm
by 9639160
Hello Yeray,
You are right. With "execute as admin" the EvalExtender works. Thanks.

But now i have errors when compiling. See the attached image.
I added a reference to the project by "...\net40\x86\TeeChart.dll". Hope this is right. Without i cannot write "using steema;".

Boy, this is hard!
Pat

Re: Problems installing TChart

Posted: Fri May 04, 2012 2:33 pm
by narcis
Hi Pat,

You are on a x64 OS, aren't you? If that's the case you should be referencing the x64 assemblies or explicitly build your projects as x86 applications.

Re: Problems installing TChart

Posted: Fri May 04, 2012 2:55 pm
by 10050769
Hello Pat,

Moreover, I suggest you check if your .Net Framework of your application, isn't Client Profile. To check it, you can follow next steps:

1.- Click on WindowsApplication with right button and select properties
2.- Go to Framework target and change Framework 4.0 Client Profile to Framework 4.0
3.- Run again your project.

On the other hand, If you want work with a Client Profile application you need do next:
1.- Go to references and remove TeeChart.dll
2.- Do click with right button and select Add References
3.- Go to the folder where you install TeeChartFor .Net 2012 and you select TeeChart.Client.dll
4.- Run again your project.

I hope will helps.
Thanks,

Re: Problems installing TChart

Posted: Fri May 04, 2012 3:19 pm
by 9639160
Hello at all :mrgreen:
I changed framework target to "Framework 4.0" and it WORKS! Thank You Sandra.
The project reference for TChart.dll is the x86 one.
The elements for the toolbox are also from the x86 TChart folder.

Yes, i have a 64bit PC.
Last question:
Is it possible to write 32bit apps with TChart components on a 64bit machine?
How to do that?

Have a nice weekend.
Pat

Re: Problems installing TChart

Posted: Fri May 04, 2012 3:28 pm
by narcis
Hi Pat,
I changed framework target to "Framework 4.0" and it WORKS! Thank You Sandra.
Kudos to Sandra :wink:
Is it possible to write 32bit apps with TChart components on a 64bit machine?
How to do that?
Yes, applications are compiled in 32-bit by default as explained here. Some more detailed info here.
Have a nice weekend.
Thanks, have a good one :!:

Re: Problems installing TChart

Posted: Tue May 08, 2012 8:04 am
by 9639160
Hello,
Thank you for the links!
Now, every thing works fine for me :D
Best Regards
Pat