Teechart problem with .net framework 4.5

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
amol
Advanced
Posts: 231
Joined: Tue Mar 29, 2005 5:00 am

Teechart problem with .net framework 4.5

Post by amol » Wed Dec 17, 2014 12:09 pm

Hi Steema Team …
We are using following version of Teechart –
Teechart Version Detail.png
Teechart Version Detail
Teechart Version Detail.png (63.13 KiB) Viewed 19738 times
On .net framework 4.5 when we compile it on x_64 environment then following error comes ---

“Exception occurred creating type 'Steema.TeeChart.TChart, TeeChart, Version=4.1.2012.5103, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' System.NullReferenceException: Object reference not set to an instance of an object.…\licenses.licx”

So kindly let us know how it will work.

Thanks & Regards
PlanoResearch

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Teechart problem with .net framework 4.5

Post by Narcís » Wed Dec 17, 2014 12:26 pm

Hello,

To compile for x64 you should use the assemblies at the \net45\x64 folder in the TeeChart installation. Are you using x64 specific assemblies?

The error message you posted may also indicate that the TeeChart license is not correctly compiled into your applications. Please follow the steps on this thread. Notice that for TeeChart v2012 the designtime license key in the registry will be called DesignKeyV2010.
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

Amol
Advanced
Posts: 176
Joined: Mon May 29, 2006 12:00 am

Re: Teechart problem with .net framework 4.5

Post by Amol » Wed Dec 17, 2014 2:19 pm

Thanks for quick reply ... Actually I am using the 64 bit Dll. but as you mentioned path ... net45

but in my installation folder there is no net45 folder . I have a following path --

\Program Files (x86)\Steema Software\Steema TeeChart for .NET 2012 4.1.2012.05100\net40

kindly let me know should I use another version or What I am doing wrong.. ?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Teechart problem with .net framework 4.5

Post by Narcís » Wed Dec 17, 2014 2:26 pm

Amol wrote:but in my installation folder there is no net45 folder . I have a following path --
I mentioned net45 because you said you were using .NET Framework 4.5:
amol wrote:On .net framework 4.5 when we compile it on x_64 environment then following error comes ---
Use the assemblies here instead
Amol wrote:\Program Files (x86)\Steema Software\Steema TeeChart for .NET 2012 4.1.2012.05100\net40
and change your project to target .NET Framework 4.0 at Project -> Properties -> Application -> Target Framework.

If this doesn't help please check your design-time license as I mentioned in my previous reply.
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

Amol
Advanced
Posts: 176
Joined: Mon May 29, 2006 12:00 am

Re: Teechart problem with .net framework 4.5

Post by Amol » Thu Dec 18, 2014 4:44 am

Thanks for you support.

But Actually we don't want to go on framework 4.0. We have to use a 4.5 framework.

So as you suggested in your earlier mail that we have to use \net45 dll. but unfortunately in my tee-chart installation folder this path is not coming.

So I need a dll of Teechart which support .net 4.5 with 64 bit OS.

So kindly suggest that from where we can get this DLL. or we what we are missing.

Looking forward for your suggestion

Amol
Advanced
Posts: 176
Joined: Mon May 29, 2006 12:00 am

Re: Teechart problem with .net framework 4.5

Post by Amol » Thu Dec 18, 2014 8:11 am

apart from this, when we install a Teechart setup we could not found following entry in registry --

HKEY_LOCAL_MACHINE\SOFTWARE\Steema Software\TeeChart.NET key as:

"DesignKey"="Steema.TeeChart.TChart is a licensed component."

as mentioned in Tutorial 17 ..

Kindly Suggest ...

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Teechart problem with .net framework 4.5

Post by Narcís » Thu Dec 18, 2014 8:53 am

Hello,
Amol wrote:So kindly suggest that from where we can get this DLL. or we what we are missing.
Just answere that here.
Amol wrote:apart from this, when we install a Teechart setup we could not found following entry in registry --

HKEY_LOCAL_MACHINE\SOFTWARE\Steema Software\TeeChart.NET key as:

"DesignKey"="Steema.TeeChart.TChart is a licensed component."

as mentioned in Tutorial 17 ..
If it's a 64-bit operating system it will be under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Steema Software\TeeChart.NET. Is that the case?
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

Amol
Advanced
Posts: 176
Joined: Mon May 29, 2006 12:00 am

Re: Teechart problem with .net framework 4.5

Post by Amol » Fri Dec 19, 2014 5:23 am

yes in registry it is available on following path as you mentioned---

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Steema Software\TeeChart.NET.

means Tee-chart is installed properly.but when I am adding 64 bit dll in toolbox then following message is coming .
Teechart error during adding.png
Teechart error during adding.png (27.88 KiB) Viewed 19648 times
So it seems that 64 bit dll is not getting added. once it will be added then I think it will work properly.

So Why this error is coming?

So Should after 64 bit installation of Tee-chart any other thing need to be install ?

Amol
Advanced
Posts: 176
Joined: Mon May 29, 2006 12:00 am

Re: Teechart problem with .net framework 4.5

Post by Amol » Fri Dec 19, 2014 6:22 am

A part from this in Tee chart website following instruction was given --

"Please note: If installing TeeChart for development use in Windows 64Bit environment you should run the TeeRegV2009.exe/TeeRegV2010.exe utility after installation (see below)."

and when we are trying to install it then following message comes --
Error in registry Value..png
Error in registry Value..png (22.57 KiB) Viewed 19633 times
Kindly suggest ...

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Teechart problem with .net framework 4.5

Post by Narcís » Fri Dec 19, 2014 8:02 am

Amol wrote:"Please note: If installing TeeChart for development use in Windows 64Bit environment you should run the TeeRegV2009.exe/TeeRegV2010.exe utility after installation (see below)."

and when we are trying to install it then following message comes --
Are you running TeeRegv2010.exe as and Administrator? Right-click and choose "Run as Administrator"? Has the user you use administrator privileges?
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