cultureInfo, where is it read from?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We have two web servers that seem identical, regional settings etc. Although
1 does not run our app correctly, causing a "CAST to date" error to return
from the SQL server (which both access)

Both have IIS installed and the same version of our application. We have a
test application that allows us to check the cultureInfo settings and the
server that does not work has it set to
en-us
 
You could set the globalization element in the web.config file to the locale
of your choice, which would solve your problem, like so:

<globalization
requestEncoding="utf-8"
responseEncoding="utf-8"
culture="en-US"
uiCulture="en-US"
/>

Hth. Kind regards,
Nikander & Margriet Bruggeman
 
Back
Top