IIS VS 2008 / Web.config - Incorrect Date Format

can anyone help. I recently translated the servers, IIS7, rather, our previous IIS6, but everything else is the same, I set the region to the UK and all the date formats plus the local system .. I mean everything ..

But when the asp.net webpage is running on IIS7, it thinks dates are a different format.

This is really puzzling .. I managed to fix it by inserting it into every web.config

    <globalization culture="en-GB"/>

but I have to put it on everyone. I know that I can put it in machine.config too.

But I do not understand this, my other server is working unchanged. I checked web.config and machine.config on my old server and does not have any of these add-ons

Any ideas?

thanks

+3
source share
2 answers

Make sure you also check the box under “Language and Regional Standards” (Advanced tab) to say “Apply all settings to the user's default profile. The account that works with .Net will remain in the United States if you do not do it.

Was there:)

+4
source

Check the localization settings on the field and see what it is installed for - someone may have just selected en-US for configuration and forgot to tell someone.

0
source

Source: https://habr.com/ru/post/1712024/


All Articles