D
David Mc
We recently installed the 1.1 redist of .Net on a new server. Only
after installing .Net did I realize that the regional settings of the
server had not been localized.
The application we have written uses GB style dates i.e. dd/mm/yyyy.
When running new server we were getting error message - i.e. incorrect
date format. First we removed the app and .net, reset the locale,
rebooted and re-installed everything. However server still defaulting
to US dates. So we have now edited web.config and set culture="GB-en"
uiculture="GB-en". The app is now no longer complaining about the date
format, but it is still using US default days - i.e Sunday=7 rather
than sunday=1. This does not seem to be impacted by changing the
culture in web.config.
I have two questions. (1) why does .Net continue to believe that it
should use US format even though the regional settings on the server
have been changed - I have reset looked through the registry but could
not identify a problem key. The machine.config shows culture=neutral
for all entries.
(2) Where do the US day numbers comefrom. Is there some way of setting
these in web.config.
Many thanks for help.
Davud
after installing .Net did I realize that the regional settings of the
server had not been localized.
The application we have written uses GB style dates i.e. dd/mm/yyyy.
When running new server we were getting error message - i.e. incorrect
date format. First we removed the app and .net, reset the locale,
rebooted and re-installed everything. However server still defaulting
to US dates. So we have now edited web.config and set culture="GB-en"
uiculture="GB-en". The app is now no longer complaining about the date
format, but it is still using US default days - i.e Sunday=7 rather
than sunday=1. This does not seem to be impacted by changing the
culture in web.config.
I have two questions. (1) why does .Net continue to believe that it
should use US format even though the regional settings on the server
have been changed - I have reset looked through the registry but could
not identify a problem key. The machine.config shows culture=neutral
for all entries.
(2) Where do the US day numbers comefrom. Is there some way of setting
these in web.config.
Many thanks for help.
Davud