Error opening chartEditor in user's computer
Error opening chartEditor in user's computer
I developed a program which open charteditor, it runs sucessfully in the developer computer, but I installed it in a user computer the chart is seen successfully but when I try to open chart editor it shows this error.
I forgot to add something in the installer?
Thanks in advance
I forgot to add something in the installer?
Thanks in advance
- Attachments
-
- charteditor.png (138.3 KiB) Viewed 17764 times
Re: Error opening chartEditor in user's computer
Hello wakeup,
I think that the problem may be caused by license installed incorrectly, wrongly compiled or you are still using eval version of TeeChart.Net. Please, see the link to check this as explain Narcís.
I hope will help.
Thanks,
I think that the problem may be caused by license installed incorrectly, wrongly compiled or you are still using eval version of TeeChart.Net. Please, see the link to check this as explain Narcís.
I hope will help.
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 |
Re: Error opening chartEditor in user's computer
In the developer computer it runs sucesfully so I think it is well in it. The problem is only in the user computer which doesn't have teechart for desing installed.
The project is well compiled the program opens sucessfully and show charts, the problem is only when I try to open chartEditor.
I added utils/license.licx to the setup program but it didn't solve the problem.
I read your link but it is for people with problems in developer computer not in the final user computer...
Thanks!
The project is well compiled the program opens sucessfully and show charts, the problem is only when I try to open chartEditor.
I added utils/license.licx to the setup program but it didn't solve the problem.
I read your link but it is for people with problems in developer computer not in the final user computer...
Thanks!
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Error opening chartEditor in user's computer
Hi wakeup,
Thanks in advance.
That's correct, designtime license must not be installed in deployment machines.In the developer computer it runs sucesfully so I think it is well in it. The problem is only in the user computer which doesn't have teechart for desing installed.
Yes, but the problem could be that the developer computer or project is referencing wrong TeeChart assemblies and therefore the license setup would apparently work fine. Could you please check the steps I described in the thread Sandra pointed you?I read your link but it is for people with problems in developer computer not in the final user computer...
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: Error opening chartEditor in user's computer
The tutorial 17 is a bit confussing. I have a license.licx file in the properties of my project. I added it in deployment proyect and it is installed in the user computer... but I'm not sure if it is enought.Narcís wrote: 1. Make sure that licenses.licx is built as an embedded resource in your project as told in tutorial 17.
I don't have that entry in HKEY_CURRENT_USER\... and neither in HKEY_LOCAL_MACHINE\... Is that good?Narcís wrote: 2. Reset your machine's AssemblyFolders entry as told here.
I don't found anything called NetDemo in my steema folder "C:\Program Files\Steema Software\TeeChart for .NET 2009"Narcís wrote: 3. Check if the NetDemo project shipped with the installation compiles fine at your end.
I got this error:Narcís wrote: 4. Check if invalidating DesignKeyV3 on your machine, as Marc described here, makes any difference.
Error 1 Exception occurred creating type 'Steema.TeeChart.TChart, TeeChart, Version=4.0.2009.35592, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' 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. D:\Users\acastro\MyDocuments\Visual Studio 2008\Projects\GestorDatosGalindoMatriz\GestorDatosGalindo\licenses.licx 1 GestorDatosGalindo
I runned again the TeeRegV2009.exe file, but the problem remains...Narcís wrote: 5. You could also use TeeRegister tool, available at the client area, to make sure the design time license is properly installed on your machine.
Thanks!
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Error opening chartEditor in user's computer
Hi wakeup,
Thanks in advance.
licenses.licx should be compiled in your application as an embedded resource. Please check how it is set up in the examples shipped with the installation.The tutorial 17 is a bit confussing. I have a license.licx file in the properties of my project. I added it in deployment proyect and it is installed in the user computer... but I'm not sure if it is enought.
If the installation finished successfully I'd expect it to be there but it shouldn't be a problem it not being there.I don't have that entry in HKEY_CURRENT_USER\... and neither in HKEY_LOCAL_MACHINE\... Is that good?
Sorry, my fault. It's called DemoProject and is available at C:\Program Files\Steema Software\TeeChart for .NET 2009\Examples\DemoProjectI don't found anything called NetDemo in my steema folder "C:\Program Files\Steema Software\TeeChart for .NET 2009"
This could be a signal that the designtime developer license is correctly installed in your machine and the designtime license correctly compiled in your application.I got this error:
Error 1 Exception occurred creating type 'Steema.TeeChart.TChart, TeeChart, Version=4.0.2009.35592, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' 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. D:\Users\acastro\MyDocuments\Visual Studio 2008\Projects\GestorDatosGalindoMatriz\GestorDatosGalindo\licenses.licx 1 GestorDatosGalindo
If the problem persists please send us a simple example project we can run "as-is" to reproduce the problem here and let us know the exact TeeChart version you are using.I runned again the TeeRegV2009.exe file, but the problem remains...
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: Error opening chartEditor in user's computer
I attached a screenshot, is that the way to add as an embedded resource?Narcís wrote: licenses.licx should be compiled in your application as an embedded resource. Please check how it is set up in the examples shipped with the installation.
I attached a simple example project, I can open it in the client computer but when I push in the chartController the button to show the chartEditor it shows the error.Narcís wrote: If the problem persists please send us a simple example project we can run "as-is" to reproduce the problem here and let us know the exact TeeChart version you are using.
Thanks
- Attachments
-
- TestLicenseTeechart.zip
- (29.58 KiB) Downloaded 562 times
-
- resources.png (85.8 KiB) Viewed 17676 times
Re: Error opening chartEditor in user's computer
Hi wakeup. Try
instead of
Code: Select all
Steema.TeeChart.Editor.Show(chart);
Code: Select all
chart.ShowEditor();
Re: Error opening chartEditor in user's computer
Thanksstarnov wrote:Hi wakeup. Tryinstead ofCode: Select all
Steema.TeeChart.Editor.Show(chart);
Code: Select all
chart.ShowEditor();
Code: Select all
Steema.TeeChart.Editor.Show(chart);
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Error opening chartEditor in user's computer
Hi wakeup,
Thanks in advance.
No, it's as shown in the image below, as in the example projects I told you. You already had it correctI attached a screenshot, is that the way to add as an embedded resource?
Just had to reassign TeeChart.dll reference to your project, build it, both in debug and release mode, and deployed application's *.exe and TeeChart.dll to a machine without TeeChart installed and could run it successfully. Can you please try deploying the application as I did?run successfully, but I have still the error when I push the button in chartController...
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: Error opening chartEditor in user's computer
I see a difference between your setup project and mine. I have the TeeChart.dll file in "Detected dependencies". Could it be related with my problem?Narcís wrote: No, it's as shown in the image below, as in the example projects I told you. You already had it correct
I have just deleted TeeChart.dll from the references, and I added it manually, I rebuilt the teechart project and the setup project but the error remainsNarcís wrote: Just had to reassign TeeChart.dll reference to your project, build it, both in debug and release mode, and deployed application's *.exe and TeeChart.dll to a machine without TeeChart installed and could run it successfully. Can you please try deploying the application as I did?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Error opening chartEditor in user's computer
Hi wakeup,
Thanks in advance.
I don't know. I'm sorry, I'm not familiar with setup projects.I see a difference between your setup project and mine. I have the TeeChart.dll file in "Detected dependencies". Could it be related with my problem?
Have you tried only building the project and using the exe it created as I told you in my previous reply? If this doesn't work I'll send you the *exe which works fine for me to see if it works fine at your end.I have just deleted TeeChart.dll from the references, and I added it manually, I rebuilt the teechart project and the setup project but the error remains
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: Error opening chartEditor in user's computer
Yes I did and the problem remains. Please, send me your exe file.Narcís wrote: Have you tried only building the project and using the exe it created as I told you in my previous reply? If this doesn't work I'll send you the *exe which works fine for me to see if it works fine at your end.
Thanks!
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Error opening chartEditor in user's computer
Hi wakeup,
Find them attached. You just need to extract the zip package and copy latest TeeChart for .NET 2009 dll available next to each *.exe (debug and release builds) and run them.
Find them attached. You just need to extract the zip package and copy latest TeeChart for .NET 2009 dll available next to each *.exe (debug and release builds) and run them.
- Attachments
-
- TestLicenseTeechart.zip
- (8.11 KiB) Downloaded 568 times
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: Error opening chartEditor in user's computer
I have just done it and I get the same error as with my example... The aplication opens succesfully but I get an error when I try to open ChartEditor from chartController button