Regional Settings for IIS
Some time we may get problem in language or the numeric/ date time format while you deployed an asp.net application or in the development itself.
Problem:
The problem is in the date time format that your system displays. Actually the date should be in “dd/MM/yyyy” format but it displays as “dd-MM-yyyy” or some other format. Even though you try by setting the regional setting also its wont work. But the same application works in another server / PC with “dd/MM/yyyy” format and the month name is also displaying in Different language .
Cause:
In the Globalization attribute in the machine.config file if the culture if not set this problem arise. You can find the configuration file in “C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG” this location
Solution:
Give the culture name the Globalization attribute

So the asp.net application will take the regional settings from the machine.Config file. Here I had set to US English you can set to any other language format if you need.
Note: This setting is for all the application deployed in that IIS Server
No comments:
Post a Comment