TeeChart for .Net v1 with Visual Studio 2010
TeeChart for .Net v1 with Visual Studio 2010
I am using Steema TeeChart for .Net V1
Upgrading the project form VisualStudio 2008 to 2010 is causing the following problem:
The resource form (.resx) of the form where the TeeChart graphic is placed on does not compile.
I always get the the following xml exception:
------------
Error 2 Specific exception: "XmlException" Message: "Type in the data at line 312, position 5, cannot be loaded because it threw the following exception during construction: Object reference not set to an instance of an object. ---> XmlException: Type in the data at line 312, position 5, cannot be loaded because it threw the following exception during construction: Object reference not set to an instance of an object. Line 312, position 5. ---> NullReferenceException: Object reference not set to an instance of an object." S:\Test Version 2.1\V&F History 2.1\VFHistory21\HistoryForm.resx VFHistory21
--------
In the .resx file the following part causes the problem:
<data name="tChart1.Chart" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFJUZWVDaGFydCwgVmVyc2lvbj0xLjEuMTg2NC4yMjc4OCwgQ3Vs
dHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj05YzgxMjYyNzZjNzdiZGI3DAMAAABRU3lzdGVtLkRy
YXdpbmcsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iMDNm
...
CIRAAAAAAAAAh0AAAAAAAFCGQAAAAAAAeIZAAAAAAAAgikAAAAAAANiGQAAAAAAAKIdAAAAAAACgiUAA
AAAAAHiLQAAAAAAACIpAAAAAAACQiEAAAAAAAIiLQAAAAAAAqIxAAAAAAADQiEAAAAAAABCJQAAAAAAA
OIZAAAAAAABQiUAAAAAAAPiFQAAAAAAAMIJAAAAAAAAIhUAAAAAAALCIQAAAAAAAoIdAAAAAAABQh0AQ
EgAAAAAAAAAL
</value>
</data>
as soon as I am removing this value section from the resx xml-file the project can be compiled without errors. And works fine.
But as soon as i am changing anything on the teechart grapic, this section is written again and the program does not compile again.
Has anybody an idea?
Thanks a lot, Markus.
Upgrading the project form VisualStudio 2008 to 2010 is causing the following problem:
The resource form (.resx) of the form where the TeeChart graphic is placed on does not compile.
I always get the the following xml exception:
------------
Error 2 Specific exception: "XmlException" Message: "Type in the data at line 312, position 5, cannot be loaded because it threw the following exception during construction: Object reference not set to an instance of an object. ---> XmlException: Type in the data at line 312, position 5, cannot be loaded because it threw the following exception during construction: Object reference not set to an instance of an object. Line 312, position 5. ---> NullReferenceException: Object reference not set to an instance of an object." S:\Test Version 2.1\V&F History 2.1\VFHistory21\HistoryForm.resx VFHistory21
--------
In the .resx file the following part causes the problem:
<data name="tChart1.Chart" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFJUZWVDaGFydCwgVmVyc2lvbj0xLjEuMTg2NC4yMjc4OCwgQ3Vs
dHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj05YzgxMjYyNzZjNzdiZGI3DAMAAABRU3lzdGVtLkRy
YXdpbmcsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iMDNm
...
CIRAAAAAAAAAh0AAAAAAAFCGQAAAAAAAeIZAAAAAAAAgikAAAAAAANiGQAAAAAAAKIdAAAAAAACgiUAA
AAAAAHiLQAAAAAAACIpAAAAAAACQiEAAAAAAAIiLQAAAAAAAqIxAAAAAAADQiEAAAAAAABCJQAAAAAAA
OIZAAAAAAABQiUAAAAAAAPiFQAAAAAAAMIJAAAAAAAAIhUAAAAAAALCIQAAAAAAAoIdAAAAAAABQh0AQ
EgAAAAAAAAAL
</value>
</data>
as soon as I am removing this value section from the resx xml-file the project can be compiled without errors. And works fine.
But as soon as i am changing anything on the teechart grapic, this section is written again and the program does not compile again.
Has anybody an idea?
Thanks a lot, Markus.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart for .Net v1 with Visual Studio 2010
Hi Markus,
Maybe removing the base64 tag as described here would do. Another example of base64 removal can be found here. Can you please try it at your end?
Maybe removing the base64 tag as described here would do. Another example of base64 removal can be found here. Can you please try it at your end?
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart for .Net v1 with Visual Studio 2010
Yes, removing the .base64 tag helps, but of course changing anything on the graphic control in the designer will put back this tag again. Do you see any other sollution which only has to be done once?
Thanks a lot, Markus
Thanks a lot, Markus
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart for .Net v1 with Visual Studio 2010
Hi Markus,
I'm afraid not. *.resx files are generated by Visual Studio. Moreover, VS2010 didn't exist during TeeChart for .NET v1 development life time so we could not anticipate this issue. You could try downloading TeeChart 2010 for .NET fully functional evaluation version and check if this solves the problem at your end.
I'm afraid not. *.resx files are generated by Visual Studio. Moreover, VS2010 didn't exist during TeeChart for .NET v1 development life time so we could not anticipate this issue. You could try downloading TeeChart 2010 for .NET fully functional evaluation version and check if this solves the problem at your end.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart for .Net v1 with Visual Studio 2010
I am considering an Upgrade to the VisualStudio 2010 Version.
Is this newer Version compatible with the Version v1 I have?
Thanks for your quick reply.
Is this newer Version compatible with the Version v1 I have?
Thanks for your quick reply.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart for .Net v1 with Visual Studio 2010
Hi Markus,
Yes, backwards compatibility is something we specially care about when developing new features in TeeChart. Code breaking features, if any, are documented in release notes shipped with each version and available at http://www.steema.com/versioninfo/net. Anyway, I don't think you should have much problems upgrading your applications. If any issue occurs don't hesitate to let us know.
Yes, backwards compatibility is something we specially care about when developing new features in TeeChart. Code breaking features, if any, are documented in release notes shipped with each version and available at http://www.steema.com/versioninfo/net. Anyway, I don't think you should have much problems upgrading your applications. If any issue occurs don't hesitate to let us know.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart for .Net v1 with Visual Studio 2010
Hi Narcis,
I finally made an update to the newest Verstion to TeeChart2010 Release September 2010.
But already the installation got wrong.
I have a Windows 7, 64 bit running with Visual Studio2010 installed.
First the installation procedure causes Windows to send a memory dump to Microsoft (some ToolBox Erroro accured) and second the installer aborted with the problem that it could not find the HelpLibManager.
I tried a lot of manually steps, like adding the help manually and adding teechart.dll manually to the VisualStudio Toolbox.
But now I get a licensse problem. TeeChart cant find the correct license.
Investigating your forum got me to the following error report: [TF02015099].
Do you have an idea, when this problem will be solved?
Or do you have another sollution for installing TeeChart2010 on Windows 7 64 bit?
Thanks a lot, Markus.
I finally made an update to the newest Verstion to TeeChart2010 Release September 2010.
But already the installation got wrong.
I have a Windows 7, 64 bit running with Visual Studio2010 installed.
First the installation procedure causes Windows to send a memory dump to Microsoft (some ToolBox Erroro accured) and second the installer aborted with the problem that it could not find the HelpLibManager.
I tried a lot of manually steps, like adding the help manually and adding teechart.dll manually to the VisualStudio Toolbox.
But now I get a licensse problem. TeeChart cant find the correct license.
Investigating your forum got me to the following error report: [TF02015099].
Do you have an idea, when this problem will be solved?
Or do you have another sollution for installing TeeChart2010 on Windows 7 64 bit?
Thanks a lot, Markus.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart for .Net v1 with Visual Studio 2010
Hi Markus,
Which is the exact error message you get?I tried a lot of manually steps, like adding the help manually and adding teechart.dll manually to the VisualStudio Toolbox.
But now I get a licensse problem. TeeChart cant find the correct license.
I'm sorry but I can not provide an estimate date for now.Investigating your forum got me to the following error report: [TF02015099].
Do you have an idea, when this problem will be solved?
I think manual installation should work fine.Or do you have another sollution for installing TeeChart2010 on Windows 7 64 bit?
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart for .Net v1 with Visual Studio 2010
Hi Narcis,
let me explain my installation adventure in detail:
* I started the program "TeeChartNET2010VSNET2010_4.1.2010.09283.exe
* I entered all the information for the installation procedure
* The installation procedure started, it has copied 100% of all files, then the installer starts to do some additional tasks
* Now the following error message occures:
"Windows cannot find 'C:\PROGRA~2\Microsoft Help Viewer\v1.0\HelpLibManager.exe'. Make sure you typed the name correctly, and then try again.
* I pressed OK, got the message: "Could not execute the external program C:\PROGRA~2\Microsoft Help Viewer\v1.0\HelpLibManager.exe."
* After pressing OK again, the installer terminates.
Now I started VisualStudio2010, add a new tab in the toolbox and add manually all items from TeeChart.dll to this tab.
Then I created a new Windows-Forms-Project and tried to move the TChart-Control onto the main form.
Now I got the folowing error message:
"System.ComponentModel.LicenseException: An instance of type 'Steema.TeeChart.Chart' was being created, and a valid license could not be granted for the type 'Steema.TeeChart.Chart'. Please, contact the manufacturer of the component for more information. at System.ComponentModel.LicenseManager.Validate(Type type, Object instance) at Steema.TeeChart.Chart..ctor() at Steema.TeeChart.TChart..ctor()'"
Thanks for your Help Narcis!
PS: Maybe you know a sequence of manual tasks to establisch a well defined installation, with all help included, on a WIN7 x64 system. Thank you so much!
let me explain my installation adventure in detail:
* I started the program "TeeChartNET2010VSNET2010_4.1.2010.09283.exe
* I entered all the information for the installation procedure
* The installation procedure started, it has copied 100% of all files, then the installer starts to do some additional tasks
* Now the following error message occures:
"Windows cannot find 'C:\PROGRA~2\Microsoft Help Viewer\v1.0\HelpLibManager.exe'. Make sure you typed the name correctly, and then try again.
* I pressed OK, got the message: "Could not execute the external program C:\PROGRA~2\Microsoft Help Viewer\v1.0\HelpLibManager.exe."
* After pressing OK again, the installer terminates.
Now I started VisualStudio2010, add a new tab in the toolbox and add manually all items from TeeChart.dll to this tab.
Then I created a new Windows-Forms-Project and tried to move the TChart-Control onto the main form.
Now I got the folowing error message:
"System.ComponentModel.LicenseException: An instance of type 'Steema.TeeChart.Chart' was being created, and a valid license could not be granted for the type 'Steema.TeeChart.Chart'. Please, contact the manufacturer of the component for more information. at System.ComponentModel.LicenseManager.Validate(Type type, Object instance) at Steema.TeeChart.Chart..ctor() at Steema.TeeChart.TChart..ctor()'"
Thanks for your Help Narcis!
PS: Maybe you know a sequence of manual tasks to establisch a well defined installation, with all help included, on a WIN7 x64 system. Thank you so much!
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart for .Net v1 with Visual Studio 2010
Hi Markus,
This problem indicates that the designtime license was not properly installed in your machine. To check and confirm that you should follow the steps I described here.
Thanks in advance.
This problem indicates that the designtime license was not properly installed in your machine. To check and confirm that you should follow the steps I described here.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart for .Net v1 with Visual Studio 2010
Yes, the license was not installed properly, with the program TeeRegV2010.exe I could fix it (Run as administrator is important), thank you!
Another obvious problem ist the fact that the help files are not installed, how can I fix that.
It would be nice if there exists a standard way, no matter if manually steps are necessary, to install your product. I am just trying to install TeeChart.Net on a plain new Windows 7 x64 installation with everything standard.
Let me ask one more question:
The components, i manually added to the toolbox of VisualStudio seem to work only with the .net framework 4.0
According to your specifications in the internet there should be a version for the .net framework 2.0 also. Maybe i just installed the components from a wrong dll-file. Could you please tell me the right components for use with the .net framework 2.0
Thanks a lot, Markus.
Another obvious problem ist the fact that the help files are not installed, how can I fix that.
It would be nice if there exists a standard way, no matter if manually steps are necessary, to install your product. I am just trying to install TeeChart.Net on a plain new Windows 7 x64 installation with everything standard.
Let me ask one more question:
The components, i manually added to the toolbox of VisualStudio seem to work only with the .net framework 4.0
According to your specifications in the internet there should be a version for the .net framework 2.0 also. Maybe i just installed the components from a wrong dll-file. Could you please tell me the right components for use with the .net framework 2.0
Thanks a lot, Markus.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart for .Net v1 with Visual Studio 2010
Hi Markus,
Using F1 in a non-TeeChart object in Visual Studio do you get the help window?Another obvious problem ist the fact that the help files are not installed, how can I fix that.
For .NET Framework 2.0 you should install VS2005 or VS2008 components instead of VS2010's.Let me ask one more question:
The components, i manually added to the toolbox of VisualStudio seem to work only with the .net framework 4.0
According to your specifications in the internet there should be a version for the .net framework 2.0 also. Maybe i just installed the components from a wrong dll-file. Could you please tell me the right components for use with the .net framework 2.0
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart for .Net v1 with Visual Studio 2010
Thanks Narcis.
So I installed the version VS2008 (TeeChartNET2010VSNET2008_4.1.2010.09282.exe) to geht the .net 2.0 components.
The installation of this version got much better, only two errors appear:
first: ToolbxEditor 2008 has stopped working
second: TeeGofer Help2 Registration Utility has stopped working.
After adding the components manually to the VisualStudio Toolbox I could start with the first steps with the new TeeChart components.
I still like your component, but i guess the installation problems will keep away a lot of new customers.
All the best from Austria, Markus.
So I installed the version VS2008 (TeeChartNET2010VSNET2008_4.1.2010.09282.exe) to geht the .net 2.0 components.
The installation of this version got much better, only two errors appear:
first: ToolbxEditor 2008 has stopped working
second: TeeGofer Help2 Registration Utility has stopped working.
After adding the components manually to the VisualStudio Toolbox I could start with the first steps with the new TeeChart components.
I still like your component, but i guess the installation problems will keep away a lot of new customers.
All the best from Austria, Markus.