Page 1 of 1

TeeChart Has Stopped Working

Posted: Wed Feb 24, 2016 5:18 pm
by 13047900
Hi!

I hope this is an easy fix, possibly something easy I have overlooked. I have worked through all the suggestions and made sure the relevant parts of tutorial 17 were covered and still can't get rid of the issue. I have spent two days on it so far.

I am trying to get a legacy application to work on a win7, 64bit computer. My development computer is also win7, 64bit. I am using TeeChart for .NET v3 (v3.5.3498.27368). My development environment is vs2013 express and the language is vb.net. I am building an exe. TeeChart is installed on the development machine, which has been verified in the registry entries.

I can run the application fine on the development computer, both as a debug from the IDE and after compiling the release. When I copy the release files to the client computer and try to run the application I get a simple 'TeeChart has stopped working' error dialog. Here are the errors in the event viewer:

----------------------------------------------------------------------------------------------------------------
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2016-02-24T17:08:31.000000000Z" />
<EventRecordID>2083</EventRecordID>
<Channel>Application</Channel>
<Computer>ComputerName</Computer>
<Security />
</System>
- <EventData>
<Data />
<Data>0</Data>
<Data>CLR20r3</Data>
<Data>Not available</Data>
<Data>0</Data>
<Data>trends.exe</Data>
<Data>1.0.0.0</Data>
<Data>56cddb9a</Data>
<Data>Trends</Data>
<Data>1.0.0.0</Data>
<Data>56cddb9a</Data>
<Data>b2</Data>
<Data>12c</Data>
<Data>System.IndexOutOfRangeException</Data>
<Data />
<Data />
<Data>C:\Users\USER\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_trends.exe_489ba3e7baaaa185818d2c303161c66a1af3ce0_17db0b4d</Data>
<Data />
<Data>0</Data>
<Data>108d7e80-db15-11e5-b779-64006a86bc81</Data>
<Data>0</Data>
</EventData>
</Event>

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2016-02-24T16:32:57.000000000Z" />
<EventRecordID>2079</EventRecordID>
<Channel>Application</Channel>
<Computer>ComputerName</Computer>
<Security />
</System>
- <EventData>
<Data>Trends.exe</Data>
<Data>1.0.0.0</Data>
<Data>56cdda7f</Data>
<Data>KERNELBASE.dll</Data>
<Data>6.1.7601.19135</Data>
<Data>56a1c9ac</Data>
<Data>e0434352</Data>
<Data>000000000000965d</Data>
<Data>d00</Data>
<Data>01d16f2103150f1a</Data>
<Data>C:\Program Files\XYZ\Trends\Trends.exe</Data>
<Data>C:\Windows\system32\KERNELBASE.dll</Data>
<Data>425180fa-db14-11e5-b779-64006a86bc81</Data>
</EventData>
</Event>

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1026</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2016-02-24T16:32:55.000000000Z" />
<EventRecordID>2078</EventRecordID>
<Channel>Application</Channel>
<Computer>ComputerName</Computer>
<Security />
</System>
- <EventData>
<Data>Application: Trends.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IndexOutOfRangeException Stack: at TrendTool.mdl_Startup.Main(System.String[])</Data>
</EventData>
</Event>

---------------------------------------------------------------------------------------------------------------------------------

As I said above, I have done everything suggested in other posts in this forum.

Any tips or suggestions you can provide would be hugely appreciated.

Thanks!

Jeff

Re: TeeChart Has Stopped Working

Posted: Thu Feb 25, 2016 8:59 am
by Christopher
Hello Jeff,

TeeChart v.3.5.3498.27368 was released on 30/07/2009, so it is rather long in the tooth now.

The issue could be one of registry entries on a 64-bit machine ... there's a little resource tool you can down load from the Client Access area of http://www.steema.com:
resources.PNG
resources.PNG (109.1 KiB) Viewed 5282 times
My suggestion is that you download TeeRegV2009 and run it on your development machine, then re-open Visual Studio and build your application again. Then try copying the files onto the other machine and seeing if they run. If they don't, try running TeeRegV2009 on the other machine too just to test.