.NET Globalization Options. Duplicate Values ​​are Commas in Windows Server 2012 IIS

I recently moved the asp.net C # site from an old server instance running on Windows Server 2003 to a new box with Windows Server 2012.

It's funny that the values doublefor the GPS coordinates also changed from a point indicated by a comma, indicated by a comma.

I check the regional settings of the server and install it in South Africa (en-za) - where I am based.

In the new block 2012 with IIS, the values ​​are displayed as follows: -25.839 28.184
In the old window 2003 with IIS, the values ​​are displayed as follows: -25.839 28.184

Why would this change when I moved it to a new IIS box? Obviously, this breaks a lot of things, since the Map control that I use is looking for a point. Below is an excerpt from the old server settings, which works fine. The new server is duplicated with the same settings, but did not notice the effect.

Your help will be greatly appreciated.

enter image description here

+3
source share
1 answer

When you set regional settings through an RDP session, you actually set it only for your session.

In the Regional Settings dialog box, go to the Administrator tab and copy the new settings to the welcome screen and new accounts.

You may need to restart the box, not sure if this is required.

+4

All Articles