Page 1 of 1
Teechart problem with .net framework 4.5
Posted: Wed Dec 17, 2014 12:09 pm
by 9526439
Hi Steema Team …
We are using following version of Teechart –
- Teechart Version Detail
- Teechart Version Detail.png (63.13 KiB) Viewed 20138 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
Re: Teechart problem with .net framework 4.5
Posted: Wed Dec 17, 2014 12:26 pm
by narcis
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.
Re: Teechart problem with .net framework 4.5
Posted: Wed Dec 17, 2014 2:19 pm
by 9641422
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.. ?
Re: Teechart problem with .net framework 4.5
Posted: Wed Dec 17, 2014 2:26 pm
by narcis
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.
Re: Teechart problem with .net framework 4.5
Posted: Thu Dec 18, 2014 4:44 am
by 9641422
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
Re: Teechart problem with .net framework 4.5
Posted: Thu Dec 18, 2014 8:11 am
by 9641422
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 ...
Re: Teechart problem with .net framework 4.5
Posted: Thu Dec 18, 2014 8:53 am
by narcis
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?
Re: Teechart problem with .net framework 4.5
Posted: Fri Dec 19, 2014 5:23 am
by 9641422
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 (27.88 KiB) Viewed 20048 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 ?
Re: Teechart problem with .net framework 4.5
Posted: Fri Dec 19, 2014 6:22 am
by 9641422
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 (22.57 KiB) Viewed 20033 times
Kindly suggest ...
Re: Teechart problem with .net framework 4.5
Posted: Fri Dec 19, 2014 8:02 am
by narcis
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?