Hi,


I installed a Win2k3 server, and after beeing installed (not in time of
installation) I changed regional settings to spanish (date, tc..), both
current user (administrator) and default user.

Now, I'm running an application in IIS in this server, that is running with
the default App. Pool. This app. pool is using Network Service as Identity
user.

SO, when I show in my asp pages a date, the date is showed in english. If I
change the default app user to a new user whose profile was created AFTER I
changed the default regional settings, the asp pages shows the dates in
spanish.

In conclusion, I need to change the 'profile' used by Network service. But
this profile is not located in documents and setings... How can I change it?

Thanks in advance for your answer!

RE: Problem with profile of Network Service User by v-wzhang

v-wzhang
Mon May 30 02:51:34 CDT 2005

Hi,

The web application is in ASP, right? If so, on an Win2K3/IIS6
machine, the most convient and recommended way is explicitly setting
Response.LCID and Session.LCID in the ASP page.

Setting the Locale Identifier (LCID)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissd
k/html/6bbd4778-de4f-4426-aef2-096b30bcb26b.asp

List of Locale ID (LCID) Values as Assigned by Microsoft
http://www.microsoft.com/globaldev/reference/lcid-all.mspx

The above way should work solidly on all version of IIS, but change
default regional may not. This is because in IIS5.x and earlier
something also has to be specified in registry. For the ASP regional
behavior of pervious versions, please look at:

INFO: Behavior of Date/Time Format Differs When Accessed from Active
Server Pages
http://support.microsoft.com/default.aspx?scid=kb;en-us;306044

Hope the info helps. Please update here if you meet any further
issue. Thanks.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no
rights.