I have a windows form application written in C# and running on a Windows XP machine with SQL compact 4 database. The operating system language is simplified chinese.
I’m facing a strange exception.
“The specified locale is not installed on this machine. Make sure you install the appropriate language pack. LCID 1053”
Why?
The application does work ok on all other configurations/languages.
I have a windows form application written in C# and running on a Windows
Share
That is the locale for Sweden. You can change the locale by modifying the connection string:
http://msdn.microsoft.com/en-us/library/ms174034.aspx
so it would be something like
conString = “….;Locale Identifier=XXXX;…”
where the XXXX can be found on this table: http://msdn.microsoft.com/en-us/goglobal/bb964664