.NET 2 and German OS (XP Pro SP2)
-
I have a problem with my applications on German OS machines in which I find that the applications crash and the .NET Runtime is reporting exceptions into the Event Viewer. The same applications running on an English XP Pro SP2 do not crash. Both installed using the same installer. I appreciate that it may be something I have overlooked. Are there any subtle differences? Is there a specific German version of the .NET runtime that I ought to be installing? Thanks in advance for your time Regards Ant
Ant. **I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!**- David Walliams (Little Britain)
-
I have a problem with my applications on German OS machines in which I find that the applications crash and the .NET Runtime is reporting exceptions into the Event Viewer. The same applications running on an English XP Pro SP2 do not crash. Both installed using the same installer. I appreciate that it may be something I have overlooked. Are there any subtle differences? Is there a specific German version of the .NET runtime that I ought to be installing? Thanks in advance for your time Regards Ant
Ant. **I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!**- David Walliams (Little Britain)
Here's the one that bit me once or twice. A number in the US or UK is 2,000.01. In Germany, it's 2.000,01. That difference of numbering format has caused me some grief a number of times, it's a strong candidate for the root cause of your error.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
I have a problem with my applications on German OS machines in which I find that the applications crash and the .NET Runtime is reporting exceptions into the Event Viewer. The same applications running on an English XP Pro SP2 do not crash. Both installed using the same installer. I appreciate that it may be something I have overlooked. Are there any subtle differences? Is there a specific German version of the .NET runtime that I ought to be installing? Thanks in advance for your time Regards Ant
Ant. **I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!**- David Walliams (Little Britain)
Sounds like you're hitting a culture issue. As Christian has said, take a look at things like the diff between the decimal and thousand separators, but also take a look at datetime formats. These are the two that normally step up and bite you in the ass.
Deja View - the feeling that you've seen this post before.
-
Sounds like you're hitting a culture issue. As Christian has said, take a look at things like the diff between the decimal and thousand separators, but also take a look at datetime formats. These are the two that normally step up and bite you in the ass.
Deja View - the feeling that you've seen this post before.
I assumed English to mean UK, but you're right, if it's US, the date is at least as likely to be it. I've seen so much code that bypasses the DateTime class and just string mangles to seperate dates - as I am in Australia, any project I get pulled into from the US, I quickly work out those sort of issues.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Here's the one that bit me once or twice. A number in the US or UK is 2,000.01. In Germany, it's 2.000,01. That difference of numbering format has caused me some grief a number of times, it's a strong candidate for the root cause of your error.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Thanks for the tip (I've come across this sort of thing in the past when developing Macros for Excel and Word). I just wouldn't expect such an abrupt end to the application. Many thanks, I'll concentrate on this come Monday morning.
Ant. **I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!**- David Walliams (Little Britain)
-
Sounds like you're hitting a culture issue. As Christian has said, take a look at things like the diff between the decimal and thousand separators, but also take a look at datetime formats. These are the two that normally step up and bite you in the ass.
Deja View - the feeling that you've seen this post before.
And thanks for the date time tip Pete. As stated to Christian I wouldn't have expected such an abrupt end to the application. Many thanks for the advise.
Ant. **I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!**- David Walliams (Little Britain)
-
And thanks for the date time tip Pete. As stated to Christian I wouldn't have expected such an abrupt end to the application. Many thanks for the advise.
Ant. **I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!**- David Walliams (Little Britain)
No problem. Unfortunately, formatting errors do tend to be nasty little bugs and they do cause all sorts of exceptions to be thrown.
Deja View - the feeling that you've seen this post before.
-
I have a problem with my applications on German OS machines in which I find that the applications crash and the .NET Runtime is reporting exceptions into the Event Viewer. The same applications running on an English XP Pro SP2 do not crash. Both installed using the same installer. I appreciate that it may be something I have overlooked. Are there any subtle differences? Is there a specific German version of the .NET runtime that I ought to be installing? Thanks in advance for your time Regards Ant
Ant. **I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!**- David Walliams (Little Britain)
FYI, The problem was indeed a cultural one. It was down to a configuration file used to setup Remoting. An IPC channel was being used and naively I set the authorizedGroup="Everyone". I now pre-process the file and replace a placeholder variable with the appropriate WorldSid name (this is OS agnostic).
Ant. **I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!**- David Walliams (Little Britain)