cultureInfo, where is it read from?

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top