german errortext in System.Exception

  • Thread starter Thread starter Mike Strieder
  • Start date Start date
M

Mike Strieder

Hi,

hope somebody can help me. After some updates and patches my SystemExeption
switched to german language.

how can i switch back to english?

thx for your help

============================================================================
=====
An unhandled exception of type
'System.Runtime.Serialization.SerializationException' occurred in
mscorlib.dll
Additional information: Die Serialisierung deserialisert keine Delegate zu
nicht öffentlichen Methoden.

============================================================================
=====
 
Hi Rick,

thank for your feedback and help

yes you are rigth - the thread was in german,
but i have changed it now to "us-US"
and the Additional information always come up with mixed text.

hope you have an other hint for me - thx

System.Threading.Thread.CurrentThread.CurrentCulture = new
System.Globalization.CultureInfo("en-US");
Console.WriteLine(System.Threading.Thread.CurrentThread.CurrentCulture.Name)
 
i have deinstalled the full dot net and vs2003 und installed a english
version.
but the second error message is always in german.

so if i raise an other error like "Attempted to divide by zero"
the "Additional information" is in english.

An unhandled exception of type 'System.DivideByZeroException' occurred in
T1.exe
Additional information: Attempted to divide by zero.

so i think the problem is in the mscorelib.dll, but the versionsinfo tell
me, that this is an english version.

any idea?




Mike Strieder said:
Hi Rick,

thank for your feedback and help

yes you are rigth - the thread was in german,
but i have changed it now to "us-US"
and the Additional information always come up with mixed text.

hope you have an other hint for me - thx

System.Threading.Thread.CurrentThread.CurrentCulture = new
System.Globalization.CultureInfo("en-US");
Console.WriteLine(System.Threading.Thread.CurrentThread.CurrentCulture.Name)

Rick Strahl said:
Is your system or thread running in German? You might check the
Thread.CurrentThread.Culture...

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
============================================================================ Delegate
============================================================================
 
Hello Mike,

Thanks for your post. Please check the language version of mscoree.dll.
Do you mean that if you put an error to the first, then it will be
displayed in English?

I look forward to hearing from you.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hi,

the mscoree.dll is in english and some Messages of the Exeption are in
English and some are in German.

regards,
 
Hi Mike,

Thanks for your response. Could you please tell me what kind of execptions
are in German? Any clue?

In addition, I suggest you to remove VS .NET and .NET Framework cleanly
from your system by the following articles, and install the English
versions to check if it works.

HOW TO: Remove Microsoft Visual Studio .NET 2003
http://support.microsoft.com/default.aspx?scid=kb;pl;824642&Product=vsnet

PRB: Installation of .NET Framework Fails and Requires Manual Removal
http://support.microsoft.com/default.aspx?scid=kb;EN-US;320112

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top