I've taken on support of legacy code, a few years old. It runs fine on a development machine (Windows 7 64 bit, .Net 4), having first run TeeChartV2.exe.
The problem comes when installing an msi of this code on a fresh machine, (also Windows7 64 bit, .Net 4). On running the freshly-installed application, I see
"The following unhandled error occurred:_ Object reference not set to an instance of an object. Please see the event log for more information. The application will now terminate"
There is nothing in the event log. Then I run TeeChartV2.exe, effectively putting the developers licence on the clean freshly created test machine. Then the code works. I've repeated this four times, always the same result. I see no extra files being added in the application folder. Would appreciate some help
Fresh install fails
Re: Fresh install fails
Hello PaulB
I have tried to reproduce your problem and I can not reproduce it here. Would be very helpful for us if you can send us a project because we can reproduce your problem here and can find a good solution for your problem.
Thanks,
I have tried to reproduce your problem and I can not reproduce it here. Would be very helpful for us if you can send us a project because we can reproduce your problem here and can find a good solution for your problem.
Thanks,
Best Regards,
Sandra Pazos / 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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Fresh install fails
Hi PaulB,
This may mean that the TeeChart license is either not correcty installed in your development machine or not compiled correctly into the application. Please follow the steps I listed in this thread to check it.
Thanks in advance.
This may mean that the TeeChart license is either not correcty installed in your development machine or not compiled correctly into the application. Please follow the steps I listed in this thread to check it.
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: Fresh install fails
I tried a new (C# 2010) project on the development machine. Not entirely sure what I'm doing, but I copied the TeeChart object from the legacy project to the new project. Compiling it gave these errors:
Error 3 Unable to resolve type 'Steema.TeeChart.TChart, TeeChart, Version=2.0.2987.19069, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' C:\Test\WindowsFormsApplication1\WindowsFormsApplication1\Properties\licenses.licx 1 WindowsFormsApplication1
Warning 1 The currently targeted framework ".NETFramework,Version=v4.0,Profile=Client" does not include "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which the referenced assembly "TeeChart, Version=2.0.2987.19069, Culture=neutral, PublicKeyToken=9c8126276c77bdb7, processorArchitecture=MSIL" depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project. WindowsFormsApplication1
Does this mean I need a later version of TeeChart?
How to I get to tutorial 17
Thanks again for the help
Paul
Error 3 Unable to resolve type 'Steema.TeeChart.TChart, TeeChart, Version=2.0.2987.19069, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' C:\Test\WindowsFormsApplication1\WindowsFormsApplication1\Properties\licenses.licx 1 WindowsFormsApplication1
Warning 1 The currently targeted framework ".NETFramework,Version=v4.0,Profile=Client" does not include "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which the referenced assembly "TeeChart, Version=2.0.2987.19069, Culture=neutral, PublicKeyToken=9c8126276c77bdb7, processorArchitecture=MSIL" depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project. WindowsFormsApplication1
Does this mean I need a later version of TeeChart?
How to I get to tutorial 17
Thanks again for the help
Paul
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Fresh install fails
This means you should change the .NET Framework version your project targets. You should probably set it to 2.0 or the version with which the TeeChart assembly you use was built.Error 3 Unable to resolve type 'Steema.TeeChart.TChart, TeeChart, Version=2.0.2987.19069, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' C:\Test\WindowsFormsApplication1\WindowsFormsApplication1\Properties\licenses.licx 1 WindowsFormsApplication1
Warning 1 The currently targeted framework ".NETFramework,Version=v4.0,Profile=Client" does not include "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which the referenced assembly "TeeChart, Version=2.0.2987.19069, Culture=neutral, PublicKeyToken=9c8126276c77bdb7, processorArchitecture=MSIL" depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project. WindowsFormsApplication1
Does this mean I need a later version of TeeChart?
Go to the program group TeeChart installer created at Start Menu -> All programs.How to I get to tutorial 17
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: Fresh install fails
Hi Narcis, thanks for the replies. The legacy project is 100 k lines of code. We are trying to move it from .Net 2 to .Net 4. Hence we have to be able to target .Net 4.
Do we need another version of TeeChart? I checked the download page for our customer number/licence number/password and it doesn't mention VS2010 or .Net 4. Should we be buying a later version?
Thanks
Do we need another version of TeeChart? I checked the download page for our customer number/licence number/password and it doesn't mention VS2010 or .Net 4. Should we be buying a later version?
Thanks
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Fresh install fails
Hi PaulB,
Yes, in that case you'll need a TeeChart version that supports .NET Framework 4. This means you should upgrade your TeeChart for .NET v2 license to the current v2012 version. Here you'll find the upgrade options. At the TeeChart .NET version info page you can check when .NET Framework 4 support was introduced.
Yes, in that case you'll need a TeeChart version that supports .NET Framework 4. This means you should upgrade your TeeChart for .NET v2 license to the current v2012 version. Here you'll find the upgrade options. At the TeeChart .NET version info page you can check when .NET Framework 4 support was introduced.
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: Fresh install fails
Thanks Narcis. I want to make sure I order the right upgrade.
Our current key has the text:
"Licensing details for TeeChart Pro .NET V2:
For both Vs 2003 & VS 2005"
I see no evidence that we bought source code. We need .Net 4 for use with VS2010.
The Steema options show .Net4 becoming available in "Tee Chart for .Net version 2012"
Hence I think we need to buy this option:
"Upgrade to TeeChart for .NET v2012 (non sourcecode) from v1 or v2"
Is this correct please?
Thanks
Our current key has the text:
"Licensing details for TeeChart Pro .NET V2:
For both Vs 2003 & VS 2005"
I see no evidence that we bought source code. We need .Net 4 for use with VS2010.
The Steema options show .Net4 becoming available in "Tee Chart for .Net version 2012"
Hence I think we need to buy this option:
"Upgrade to TeeChart for .NET v2012 (non sourcecode) from v1 or v2"
Is this correct please?
Thanks
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Fresh install fails
Hi PaulB,
Yes, I think this option would fit your needs.
Yes, I think this option would fit your needs.
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 |