Help with Localization

A

antsays

When I run a sourceSafe command like history directly on my server it
returns results with Great Britain formatted dates. But when the
Webserver which is running on the same server runs the same command the
sourceSafe server returns history results with US formatted dates.

The servers localization setting is set to United Kingdom. The asp-Net
user which the webserver is running as uses the systems localized
settings.

I have added <globalization culture="en-GB" requestEncoding="utf-8"
responseEncoding="utf-8" /> to the web.config file.

I have also tried running this command
"Thread.CurrentThread.CurrentCulture = new CultureInfo("en-GB");" in
the constructor of the webservice and it still gets US dates in the
history results from SourceSafe.

I am pretty sure that it is a webserver problem because when I run the
same history commands from my client or directly on the server I get
the history results with the correct date formats.

Source Safe is somehow, somewhere thinking that the webservice needs US
dates.

Please help with this. Any comments will be useful.
Thanks
 
A

antsays

I found that the servers localization settings were set to United
Kingdom but when you push the default button it was set to US. So Make
sure that the default settings in internet explorer are set to whatever
your other settings are set to because when you launch a process from
the webservice it launches the process with the default local settings
and not the settings from the currently set local settings.
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top