Hi,
I got a report from a customer in Germany that my application was not running on his "German" WinXP PC ('System.NullReferenceException') while it was running fine on my "English" WinXP PC. I then also observed the same problem with the Dutch language version of WinXP. I studied different WinXP language versions using VirtualPC.
The problem is demonstrated by the following simple console app:
using System;
using Steema.TeeChart;
namespace TeeTest
{
class Class1
{
static void Main(string[] args)
{
Chart chart = new Chart();
}
}
}
This runs fine with the English version of WinXP. However, with the German and Dutch language versions of WinXP I get the following error:
An unhandled exception of type 'System.NullReferenceException' occurred in teechart.dll
Additional information: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Below is the debug info for the English and German WinXP environments:
------------------------------------------------------------------------------
WINDOWS XP ENGLISH
NET FRAMEWORK 1.1 SP1
------------------------------------------------------------------------------
'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols loaded.
'TeeTest': Loaded 'E:\TBase\Source\_Samples\CSharpSamples\TeeChartBug\TeeTest\bin\Debug\TeeTest.exe', Symbols loaded.
'TeeTest.exe': Loaded 'e:\tbase\source\_samples\csharpsamples\teechartbug\teetest\bin\debug\teechart.dll', No symbols loaded.
'TeeTest.exe': Loaded 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No symbols loaded.
'TeeTest.exe': Loaded 'c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded.
'TeeTest.exe': Loaded 'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll', No symbols loaded.
The program '[2508] TeeTest.exe' has exited with code 0 (0x0).
------------------------------------------------------------------------------
------------------------------------------------------------------------------
WINDOWS XP GERMAN
NET FRAMEWORK 1.1 SP1
------------------------------------------------------------------------------
'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols loaded.
'TeeTest': Loaded 'C:\TBase\Source\_Samples\CSharpSamples\TeeChartBug\TeeTest\bin\Debug\TeeTest.exe', Symbols loaded.
'TeeTest.exe': Loaded 'c:\tbase\source\_samples\csharpsamples\teechartbug\teetest\bin\debug\teechart.dll', No symbols loaded.
'TeeTest.exe': Loaded 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No symbols loaded.
'TeeTest.exe': Loaded 'c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded.
'TeeTest.exe': Loaded 'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll', No symbols loaded.
'TeeTest.exe': Loaded 'c:\windows\assembly\gac\mscorlib.resources\1.0.5000.0_de_b77a5c561934e089\mscorlib.resources.dll', No symbols loaded.
An unhandled exception of type 'System.NullReferenceException' occurred in teechart.dll
Additional information: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
The program '[1056] TeeTest.exe' has exited with code 0 (0x0).
------------------------------------------------------------------------------
Does anybody know what is causing this problem?
Best regards,
Nieko Punt.
TeeChart .NET problem with different Windows XP languages
-
- Newbie
- Posts: 2
- Joined: Thu May 26, 2005 4:00 am
-
- Newbie
- Posts: 2
- Joined: Thu May 26, 2005 4:00 am
Language problem turned out to be license problem
Ok,
I solved the probem. What did the German and Dutch PC's have in common? Right, they are also PC's to which the TeeChart design environment was not installed. The problem was the absence of the License.licx file which was not added automatically because the application was a console application!
Sorry,
Nieko Punt.
I solved the probem. What did the German and Dutch PC's have in common? Right, they are also PC's to which the TeeChart design environment was not installed. The problem was the absence of the License.licx file which was not added automatically because the application was a console application!
Sorry,
Nieko Punt.