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
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