469,603 Members | 2,144 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,603 developers. It's quick & easy.

Wrong currency symbol in .asp app

Hi There

Probably missing something drastically obvious here....

I have just moved an .asp application from a test IIS server to a running
IIS server and have become confused... I am using format(blah blah,
"c").ToString

From what I can see both servers are configured exactly the same as far as
regional settings are concerned - however, the new server insists on showing
currency symbol as $ and is also showing the date in an unusual format

What am I missing ?

Thanks
Nov 19 '05 #1
5 3622
What do you have in the globalization section of your web.config file ?

Patrice

--

"Stuart" <St****@discussions.microsoft.com> a écrit dans le message de
news:13**********************************@microsof t.com...
Hi There

Probably missing something drastically obvious here....

I have just moved an .asp application from a test IIS server to a running
IIS server and have become confused... I am using format(blah blah,
"c").ToString

From what I can see both servers are configured exactly the same as far as
regional settings are concerned - however, the new server insists on showing currency symbol as $ and is also showing the date in an unusual format

What am I missing ?

Thanks

Nov 19 '05 #2
Hi

globalization requestEncoding="utf-8" responseEncoding="utf-8" /

I did not expect this to be aproblem as it works on one and not the
other....but please tell me if I am wrong

Thanks for your help

"Patrice" wrote:
What do you have in the globalization section of your web.config file ?

Patrice

--

"Stuart" <St****@discussions.microsoft.com> a écrit dans le message de
news:13**********************************@microsof t.com...
Hi There

Probably missing something drastically obvious here....

I have just moved an .asp application from a test IIS server to a running
IIS server and have become confused... I am using format(blah blah,
"c").ToString

From what I can see both servers are configured exactly the same as far as
regional settings are concerned - however, the new server insists on

showing
currency symbol as $ and is also showing the date in an unusual format

What am I missing ?

Thanks


Nov 19 '05 #3
What do you have for
culture and uiCulture ?

<globalization
culture="xx-XX"
uiCulture="xx-XX" />

?

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================

"Stuart" <St****@discussions.microsoft.com> wrote in message
news:79**********************************@microsof t.com...
Hi

globalization requestEncoding="utf-8" responseEncoding="utf-8" /

I did not expect this to be aproblem as it works on one and not the
other....but please tell me if I am wrong

Thanks for your help

"Patrice" wrote:
What do you have in the globalization section of your web.config file ?

Patrice

--

"Stuart" <St****@discussions.microsoft.com> a écrit dans le message de
news:13**********************************@microsof t.com...
> Hi There
>
> Probably missing something drastically obvious here....
>
> I have just moved an .asp application from a test IIS server to a
> running
> IIS server and have become confused... I am using format(blah blah,
> "c").ToString
>
> From what I can see both servers are configured exactly the same as far
> as
> regional settings are concerned - however, the new server insists on

showing
> currency symbol as $ and is also showing the date in an unusual format
>
> What am I missing ?
>
> Thanks


Nov 19 '05 #4
Sorry meant the culture entries. AFAIK the best way to control is those
specific files (web.config for a single app, machine.config for all ASP.NET
sites) so that you do'nt have any more to deal with control panel
settings...

See aroound
http://msdn.microsoft.com/library/de...balization.asp
for details...
Patrice

--

"Stuart" <St****@discussions.microsoft.com> a écrit dans le message de
news:79**********************************@microsof t.com...
Hi

globalization requestEncoding="utf-8" responseEncoding="utf-8" /

I did not expect this to be aproblem as it works on one and not the
other....but please tell me if I am wrong

Thanks for your help

"Patrice" wrote:
What do you have in the globalization section of your web.config file ?

Patrice

--

"Stuart" <St****@discussions.microsoft.com> a écrit dans le message de
news:13**********************************@microsof t.com...
Hi There

Probably missing something drastically obvious here....

I have just moved an .asp application from a test IIS server to a running IIS server and have become confused... I am using format(blah blah,
"c").ToString

From what I can see both servers are configured exactly the same as far as regional settings are concerned - however, the new server insists on

showing
currency symbol as $ and is also showing the date in an unusual format

What am I missing ?

Thanks


Nov 19 '05 #5
thanks very much - this did the trick when set to en-GB

"Patrice" wrote:
Sorry meant the culture entries. AFAIK the best way to control is those
specific files (web.config for a single app, machine.config for all ASP.NET
sites) so that you do'nt have any more to deal with control panel
settings...

See aroound
http://msdn.microsoft.com/library/de...balization.asp
for details...
Patrice

--

"Stuart" <St****@discussions.microsoft.com> a écrit dans le message de
news:79**********************************@microsof t.com...
Hi

globalization requestEncoding="utf-8" responseEncoding="utf-8" /

I did not expect this to be aproblem as it works on one and not the
other....but please tell me if I am wrong

Thanks for your help

"Patrice" wrote:
What do you have in the globalization section of your web.config file ?

Patrice

--

"Stuart" <St****@discussions.microsoft.com> a écrit dans le message de
news:13**********************************@microsof t.com...
> Hi There
>
> Probably missing something drastically obvious here....
>
> I have just moved an .asp application from a test IIS server to a running > IIS server and have become confused... I am using format(blah blah,
> "c").ToString
>
> From what I can see both servers are configured exactly the same as far as > regional settings are concerned - however, the new server insists on
showing
> currency symbol as $ and is also showing the date in an unusual format
>
> What am I missing ?
>
> Thanks


Nov 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Kevin | last post: by
1 post views Thread by Sakharam Phapale | last post: by
2 posts views Thread by Paul [Paradise Solutions] | last post: by
reply views Thread by Sakharam Phapale | last post: by
6 posts views Thread by SpydrSS | last post: by
1 post views Thread by =?Utf-8?B?SGlwSG9wcGVy?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.