Unknown locale identifier error
Posted: Thu 23 Feb 2012 19:19
Hi,
I use the TMSCompactConnection object to connect to a SQLServer compact 3.5 database.
At runtime, when the application connect the database I receive the following exception message:
Error reading MSConnection1.Options.LocaleIdentifier: Unknown locale identifer
The MSConnection1.Options.LocaleIdentifier is set to my default Locale Identifier which is Italian, but as soon as I run the application on a OS with different language I receive the above error.
I even tried to set the MSConnection1.Options.LocaleIdentifier to the LCID of the host computer before connecting the database without success.
Please can you help me?
I use the TMSCompactConnection object to connect to a SQLServer compact 3.5 database.
At runtime, when the application connect the database I receive the following exception message:
Error reading MSConnection1.Options.LocaleIdentifier: Unknown locale identifer
The MSConnection1.Options.LocaleIdentifier is set to my default Locale Identifier which is Italian, but as soon as I run the application on a OS with different language I receive the above error.
I even tried to set the MSConnection1.Options.LocaleIdentifier to the LCID of the host computer before connecting the database without success.
Please can you help me?