472,122 Members | 1,490 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,122 software developers and data experts.

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 3796
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.