Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 26542

IIS 8 BUG?: Modified currency symbol is lost after computer restart. Restored only after explicit IIS restart.

$
0
0

Dear all,

I have noticed to following possible bug in IIS 8. 

Turkey started to use a new currency symbol since 2013 Jan. which is very unfamiliar to many citizens yet. As a e-commerce site operating in Turkey we would like to use the old currency symbol without changing our application code.

In our .net web application (Framework 4.0) we format currency like string.Format(turkishCulture,"{0:c}",decimalValue); (order of parameters may be wrong here but we use the Turkish CultureInfo object while string formatting)

Steps to reproduce the error:

- Go to: Control panel/Change date time or number formats/Additional Settings/Currency

- Change your current currency symbol by typing something not available on the list like "TL" (this is the old turkish currency symbol)

-Go to .net web application having a page formatting a currency with your active culture. (Server control panel culture.)

-Observe that the currency symbol is replaced correctly as what you have typed in control panel.

-Restart computer.

-Go to .net web application having a page formatting a currency with your active culture. (Server control panel culture.)

-Observe that the page is not using the currency symbol that you have chosen.

-Go to: Control panel/Change date time or number formats/Additional Settings/Currency.

-Observe that the change you have made is still valid and showing up correctly.

-Restart IIS.

-Observe that the currency symbol you have typed in is displaying correctly in web page again.

Conclusion: in IIS 8 and Windows Server 2012, if you change currency symbol in control panel, that change is not applied to .net web applications after computer restart. After computer restart, an explicit IIS restart is necessary to restore the custom currency symbol.

My question: Where can I report this bug? What can be a solution?

I am thinking of putting an iis_reset command on startup to make an additional restart to IIS upon computer restart.

Thanks in advance. Kind Regards,


Viewing all articles
Browse latest Browse all 26542

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>