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").ToStri ng
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 5 3957
What do you have in the globalization section of your web.config file ?
Patrice
--
"Stuart" <St****@discuss ions.microsoft. com> a écrit dans le message de
news:13******** *************** ***********@mic rosoft.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").ToStri ng
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
Hi
globalization requestEncoding ="utf-8" responseEncodin g="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****@discuss ions.microsoft. com> a écrit dans le message de news:13******** *************** ***********@mic rosoft.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").ToStri ng
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
What do you have for
culture and uiCulture ?
<globalizatio n
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****@discuss ions.microsoft. com> wrote in message
news:79******** *************** ***********@mic rosoft.com... Hi
globalization requestEncoding ="utf-8" responseEncodin g="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****@discuss ions.microsoft. com> a écrit dans le message de news:13******** *************** ***********@mic rosoft.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").ToStri ng > > 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
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****@discuss ions.microsoft. com> a écrit dans le message de
news:79******** *************** ***********@mic rosoft.com... Hi
globalization requestEncoding ="utf-8" responseEncodin g="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****@discuss ions.microsoft. com> a écrit dans le message de news:13******** *************** ***********@mic rosoft.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").ToStri ng
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
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****@discuss ions.microsoft. com> a écrit dans le message de news:79******** *************** ***********@mic rosoft.com... Hi
globalization requestEncoding ="utf-8" responseEncodin g="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****@discuss ions.microsoft. com> a écrit dans le message de news:13******** *************** ***********@mic rosoft.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").ToStri ng > > 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Kevin |
last post by:
Hi, I want to check that a string entered via a from contains the only
cdertain characters including the Euro currency symbol using a reg exp
in PHP.
I've set my web page to use charset=iso-8859-15 and tried
$allowed = "";
if ( ereg( $allowed, $str) )
|
by: Sakharam Phapale |
last post by:
Hi All,
I want to change currency symbol of current culture.
I am trying to do this by following code.
Dim obj As CultureInfo = System.Globalization.CultureInfo.CurrentCulture()
obj.NumberFormat.CurrencySymbol = "Rs"
Session.LCID = obj.LCID
|
by: zlf |
last post by:
Hi,
Run this code will cause format exception. I think the problem is
induced by using System.Globalization.NumberStyles.Currency since I used
customed currency symbol("My Dollar:").
Please tell me how to modify this block of code.Thanks
Console.WriteLine ( NumberValue.ToString ( formatString , n ) );
NumberFormatInfo numberFormatInfo = new
System.Globalization.NumberFormatInfo();
|
by: Paul [Paradise Solutions] |
last post by:
Hi All
In a console app I have the following code:
Sub Main()
Dim p_CustomerLine As String
Dim stream As IO.StreamReader = IO.File.OpenText("c:\test.txt")
Do
p_CustomerLine = stream.ReadLine()
|
by: Sakharam Phapale |
last post by:
Hi All,
I want to change currency symbol of current culture.
I am trying to do this by following code.
Dim obj As CultureInfo = System.Globalization.CultureInfo.CurrentCulture()
obj.NumberFormat.CurrencySymbol = "Rs"
Session.LCID = obj.LCID
| |
by: SpydrSS |
last post by:
Hi there.
Thanks for a great forum and to all of you have provided help in the past.
I have a rather small problem. I sell turnkey sites in South Africa, but obviously we don't market them locally, so all the turnkeys are in dollars or Ponds.
So here's my problem, I installed a site for a customer for realty, but the whole site is databased driven, and there's only an option for Dollar and you guessed it Pounds. All i need to do is...
|
by: =?Utf-8?B?SGlwSG9wcGVy?= |
last post by:
Hi,
I have a composited control with a Textbox and a Rangevalidator.
If I am not mistaken, Rangevalidator should take currency ($) symbol, but I
got the validation error when user enter -$100 in the text box. It will
succeed if -100.
So I tried add a property called "MoneyValue", return a Decimal only value
and use , hopping RangeValidator
|
by: shalskedar |
last post by:
Can i define my own currency symbol....
I need to maintain money value in my db as different from the standard ones as listed in the Format option..
Does Ms Access provide with any such utility..
|
by: chandhseke |
last post by:
Hi,
I have requirement to pre-populate currency symbols in excel report generated using ASP. Please review the code below and help in fixing this.
<%@ Language=VBScript %>
<% Response.Buffer = True %>
<!--#include file="connection.asp"-->
<%
vSQL = Request.Form("SQLSelect")
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |