URGENT!! Application does not start after upgrading
URGENT!! Application does not start after upgrading
Dear support team,
First we installed an evaluation version of TChart .net 2013.
After this installation we had to manually add the TeeChart.dll in Visual Studio 2012 to be able to find the Chart on the tool box.
Our program then worked OK, also at our customers PC.
Then we bought a license and installed the licensed version (TeeChartNET2013_4.1.2013.07300) on our programming PC,
without first uninstalling the evaluation version.
After that our application still worked fine on our programming PC and at the customers PC.
Then we uninstalled the evaluation version, and the trouble began.
We had to uninstall everything, and manually delete leftovers in e.g. the Registry (great uninstall tool!).
We then installed the licensed version again, and everything seemed to work as expected on our programming PC,
until we deployed our application to our customers PC.
On our customers PC the application simply does not start!
No error messages are shown.
All involved PCs run Windows 7 32bit.
This is normally a sign that a .dll is missing or somehow incorrect.
Of course we suspect the TChart to be the sinner, as the installation went wrong in the first place,
but how should we go about checking this?
The case is pretty urgent now, so any help is highly appreciated!
First we installed an evaluation version of TChart .net 2013.
After this installation we had to manually add the TeeChart.dll in Visual Studio 2012 to be able to find the Chart on the tool box.
Our program then worked OK, also at our customers PC.
Then we bought a license and installed the licensed version (TeeChartNET2013_4.1.2013.07300) on our programming PC,
without first uninstalling the evaluation version.
After that our application still worked fine on our programming PC and at the customers PC.
Then we uninstalled the evaluation version, and the trouble began.
We had to uninstall everything, and manually delete leftovers in e.g. the Registry (great uninstall tool!).
We then installed the licensed version again, and everything seemed to work as expected on our programming PC,
until we deployed our application to our customers PC.
On our customers PC the application simply does not start!
No error messages are shown.
All involved PCs run Windows 7 32bit.
This is normally a sign that a .dll is missing or somehow incorrect.
Of course we suspect the TChart to be the sinner, as the installation went wrong in the first place,
but how should we go about checking this?
The case is pretty urgent now, so any help is highly appreciated!
Re: URGENT!! Application does not start after upgrading
Hello,
This is because you installed the registered version but you probably didn't manually replace the TeeChart.dll from the list of references in the application. So, the application still referenced the TeeChart.dll from the evaluation version.JohnS wrote:First we installed an evaluation version of TChart .net 2013.
After this installation we had to manually add the TeeChart.dll in Visual Studio 2012 to be able to find the Chart on the tool box.
Our program then worked OK, also at our customers PC.
Then we bought a license and installed the licensed version (TeeChartNET2013_4.1.2013.07300) on our programming PC,
without first uninstalling the evaluation version.
After that our application still worked fine on our programming PC and at the customers PC.
Then we uninstalled the evaluation version, and the trouble began.
Please, check the TeeChart.dll your application is referencing is the correct one. And make sure that licenses.licx is built as an embedded resource in your project as told in Tutorial 17.JohnS wrote:We had to uninstall everything, and manually delete leftovers in e.g. the Registry (great uninstall tool!).
We then installed the licensed version again, and everything seemed to work as expected on our programming PC,
until we deployed our application to our customers PC.
On our customers PC the application simply does not start!
No error messages are shown.
All involved PCs run Windows 7 32bit.
This is normally a sign that a .dll is missing or somehow incorrect.
Of course we suspect the TChart to be the sinner, as the installation went wrong in the first place,
but how should we go about checking this?
The case is pretty urgent now, so any help is highly appreciated!
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: URGENT!! Application does not start after upgrading
Hi Yeray,
Thanks for your answer.
We already removed all known references to TeeChart.dll in Visual Studio,
and manually added the new one as reference from this path:
C:\Program Files\Steema Software\Steema TeeChart for .NET 2013 4.1.2013.07300\net45\x86
Enclosed screen dump 1 shows "TeeChart" in the "References" list in Visual Studio after we added the dll.
Is this correct?
Enclosed screen dump 2 shows how licenses.licx is embedded, is this correct?
We have also tried to manually copy licenses.licx to the folder that contains our application on the customers PC,
but still no luck.
The registry key "DesignKey"="Steema.TeeChart.TChart is a licensed component." is in place on our programming PC.
As the Chart is added to our application at design-time, we have NOT added the dll to Visual Studio with "Add | AddExisting Item".
We only added a reference as written above.
In the Windows event log on the customers PC we can see that an exception
was thrown with regards to some Steema license stuff, so we are probably on the right track.
Looking forward to your comments to the above, and what we can do to investigate further.
Thanks in advance!
Thanks for your answer.
We already removed all known references to TeeChart.dll in Visual Studio,
and manually added the new one as reference from this path:
C:\Program Files\Steema Software\Steema TeeChart for .NET 2013 4.1.2013.07300\net45\x86
Enclosed screen dump 1 shows "TeeChart" in the "References" list in Visual Studio after we added the dll.
Is this correct?
Enclosed screen dump 2 shows how licenses.licx is embedded, is this correct?
We have also tried to manually copy licenses.licx to the folder that contains our application on the customers PC,
but still no luck.
The registry key "DesignKey"="Steema.TeeChart.TChart is a licensed component." is in place on our programming PC.
As the Chart is added to our application at design-time, we have NOT added the dll to Visual Studio with "Add | AddExisting Item".
We only added a reference as written above.
In the Windows event log on the customers PC we can see that an exception
was thrown with regards to some Steema license stuff, so we are probably on the right track.
Looking forward to your comments to the above, and what we can do to investigate further.
Thanks in advance!
- Attachments
-
- 2.JPG (58.82 KiB) Viewed 17574 times
-
- 1.JPG (58.23 KiB) Viewed 17571 times
Re: URGENT!! Application does not start after upgrading
Would be great with some feedback!
After investigating half of the day I now have the following error messages from the Windows log on our customers machine:
The application log shows this message:
Faulting application name: TurboScrubber_P4116_HMI.exe, version: 1.0.0.0, time stamp: 0x52208fff
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b83b16
Exception code: 0xe0434352
Fault offset: 0x0000812f
Faulting process id: 0xd18
Faulting application start time: 0x01cea57d1896bad0
Faulting application path: C:\HMI\TurboScrubber_P4116_HMI.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 592c5466-1170-11e3-8d1b-00079250af43
The .net error log this:
Application: TurboScrubber_P4116_HMI.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
at System.ModuleHandle.ResolveType(System.Reflection.RuntimeModule, Int32, IntPtr*, Int32, IntPtr*, Int32, System.Runtime.CompilerServices.ObjectHandleOnStack)
at System.ModuleHandle.ResolveTypeHandleInternal(System.Reflection.RuntimeModule, Int32, System.RuntimeTypeHandle[], System.RuntimeTypeHandle[])
at System.Reflection.RuntimeModule.ResolveType(Int32, System.Type[], System.Type[])
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(System.Reflection.CustomAttributeRecord, System.Reflection.MetadataImport, System.Reflection.Assembly ByRef, System.Reflection.RuntimeModule, System.Reflection.MetadataToken, System.RuntimeType, Boolean, System.Object[], System.Collections.IList, System.RuntimeType ByRef, System.IRuntimeMethodInfo ByRef, Boolean ByRef, Boolean ByRef)
at System.Reflection.CustomAttribute.GetCustomAttributes(System.Reflection.RuntimeModule, Int32, Int32, System.RuntimeType, Boolean, System.Collections.IList, Boolean)
at System.Reflection.CustomAttribute.GetCustomAttributes(System.RuntimeType, System.RuntimeType, Boolean)
at System.RuntimeType.GetCustomAttributes(System.Type, Boolean)
at System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, Boolean)
at System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, Boolean)
at System.ComponentModel.LicenseManager.ValidateInternalRecursive(System.ComponentModel.LicenseContext, System.Type, System.Object, Boolean, System.ComponentModel.License ByRef, System.String ByRef)
at System.ComponentModel.LicenseManager.Validate(System.Type, System.Object)
at Steema.TeeChart.TChart..ctor()
at PureteQ.Graph.InitializeComponent()
at PureteQ.Graph..ctor()
at PureteQ.frmMain.InitializeComponent()
at PureteQ.frmMain..ctor()
at PureteQ.Program.Main()
After investigating half of the day I now have the following error messages from the Windows log on our customers machine:
The application log shows this message:
Faulting application name: TurboScrubber_P4116_HMI.exe, version: 1.0.0.0, time stamp: 0x52208fff
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b83b16
Exception code: 0xe0434352
Fault offset: 0x0000812f
Faulting process id: 0xd18
Faulting application start time: 0x01cea57d1896bad0
Faulting application path: C:\HMI\TurboScrubber_P4116_HMI.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 592c5466-1170-11e3-8d1b-00079250af43
The .net error log this:
Application: TurboScrubber_P4116_HMI.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
at System.ModuleHandle.ResolveType(System.Reflection.RuntimeModule, Int32, IntPtr*, Int32, IntPtr*, Int32, System.Runtime.CompilerServices.ObjectHandleOnStack)
at System.ModuleHandle.ResolveTypeHandleInternal(System.Reflection.RuntimeModule, Int32, System.RuntimeTypeHandle[], System.RuntimeTypeHandle[])
at System.Reflection.RuntimeModule.ResolveType(Int32, System.Type[], System.Type[])
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(System.Reflection.CustomAttributeRecord, System.Reflection.MetadataImport, System.Reflection.Assembly ByRef, System.Reflection.RuntimeModule, System.Reflection.MetadataToken, System.RuntimeType, Boolean, System.Object[], System.Collections.IList, System.RuntimeType ByRef, System.IRuntimeMethodInfo ByRef, Boolean ByRef, Boolean ByRef)
at System.Reflection.CustomAttribute.GetCustomAttributes(System.Reflection.RuntimeModule, Int32, Int32, System.RuntimeType, Boolean, System.Collections.IList, Boolean)
at System.Reflection.CustomAttribute.GetCustomAttributes(System.RuntimeType, System.RuntimeType, Boolean)
at System.RuntimeType.GetCustomAttributes(System.Type, Boolean)
at System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, Boolean)
at System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, Boolean)
at System.ComponentModel.LicenseManager.ValidateInternalRecursive(System.ComponentModel.LicenseContext, System.Type, System.Object, Boolean, System.ComponentModel.License ByRef, System.String ByRef)
at System.ComponentModel.LicenseManager.Validate(System.Type, System.Object)
at Steema.TeeChart.TChart..ctor()
at PureteQ.Graph.InitializeComponent()
at PureteQ.Graph..ctor()
at PureteQ.frmMain.InitializeComponent()
at PureteQ.frmMain..ctor()
at PureteQ.Program.Main()
Re: URGENT!! Application does not start after upgrading
Hello,
Excuse us for the delay here. We haven't forgotten you. We'll investigate it asap.
Excuse us for the delay here. We haven't forgotten you. We'll investigate it asap.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: URGENT!! Application does not start after upgrading
Hi JohnS,
It looks like the design time developer license was removed or damaged in the process. My recommendation is that you check the license is correctly installed following the steps I described here. If this doesn't help don't hesitate to let me know.
It looks like the design time developer license was removed or damaged in the process. My recommendation is that you check the license is correctly installed following the steps I described here. If this doesn't help don't hesitate to let me 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: URGENT!! Application does not start after upgrading
I already went through these steps before contacting you, except the step to check the design time with your tool.
I assumed that the design time license was OK, as I don't have problems at design time.
Are we talking about the following tool "TeeRegV2010" to check the license?
To me it looks like it is only for V2010??
I assumed that the design time license was OK, as I don't have problems at design time.
Are we talking about the following tool "TeeRegV2010" to check the license?
To me it looks like it is only for V2010??
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: URGENT!! Application does not start after upgrading
Hi JohnS,
Version names should be corrected to current version. An updated version of the TeeRegister tool is available at the client download area. Internally v2010, v2011, v2012 and v2013 are the same (v4). They are renamed yearly to reflect the subscription license system.Are we talking about the following tool "TeeRegV2010" to check the license?
To me it looks like it is only for V2010??
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: URGENT!! Application does not start after upgrading
We now ran TeeRegV2010.exe on our programming PC, and it said that all was OK.
But at our customers PC the error is the same!
But at our customers PC the error is the same!
Re: URGENT!! Application does not start after upgrading
Will it work if we install the evaluation version again?
What happens when it expires?
What happens when it expires?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: URGENT!! Application does not start after upgrading
Hi JohnS,
Are you deploying the application with licenses.licx compiled as an embedded resource and include TeeChart.dll? If the problem persists please send us the files being deployed and a test project, please. You can send your files to info at steema dot com.
Thanks in advance.
Are you deploying the application with licenses.licx compiled as an embedded resource and include TeeChart.dll? If the problem persists please send us the files being deployed and a test project, please. You can send your files to info at steema dot com.
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: URGENT!! Application does not start after upgrading
>>Are you deploying the application with licenses.licx compiled as an embedded resource and include TeeChart.dll?
See my previous posts above for this information.
Does it look right?
See my previous posts above for this information.
Does it look right?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: URGENT!! Application does not start after upgrading
Hi JohnS,
Thanks in advance.
Yes. I'm sorry but, since this is very strange, I wanted to double check it. Could you please arrange a simple example project with a TeeChart component on it, check if it fails at your customer's and if that's the case send us the .exe and the project?See my previous posts above for this information.
Does it look right?
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: URGENT!! Application does not start after upgrading
I tried to upload an example project, but got the message that the file size was too large.
Maximum size is 4194304 MB!!!!!
My test project is only 6 MB...
How should I send this project to you?
Maximum size is 4194304 MB!!!!!
My test project is only 6 MB...
How should I send this project to you?
Re: URGENT!! Application does not start after upgrading
OK, now I just sent an example project to support...steema...com.
The file is a zip file containing the Visual Studio 2012 project.
In the Bin/Release folder the files that we deploy to our customer are located.
If you copy all the files in the Bin/Release folder to a computer without TeeChart installed,
and then run the .exe, the application should throw an error in the Windows event log.
Can you reproduce this error?
The file is a zip file containing the Visual Studio 2012 project.
In the Bin/Release folder the files that we deploy to our customer are located.
If you copy all the files in the Bin/Release folder to a computer without TeeChart installed,
and then run the .exe, the application should throw an error in the Windows event log.
Can you reproduce this error?