If you select a country that doesn’t have any states/provinces entered in the system (for example, Chile), you may get the following error when trying to set the locale:
Object reference not set to an instance of an object.
You can remedy this issue using the Data Editor to add the missing areas to the States table manually.
If you need Country and Region Codes, see ISO Country Codes.
The Region Codes listed are prefixed with the Country Code (For example, the Cusco region in Peru’s code is
PE-CUS). Remove the prefixed Country Code (i.e., remove