Country settings problem

  • Thread starter Markus Weber Megalith
  • Start date
M

Markus Weber Megalith

Hello!

I use ASP to gether with ActiveX component. The problem is that if I
change country settings this doesn't affect the components. The
settings on installation are always used. It also doesn't help to
reinstall IIS (Windows 2000 Server). How can I solve this problem?

Regards Markus
 
T

Tom B

I believe that the IUSR_machinename settings are set to the default (what
you installed as)
Create a password for IUSR_machinename and login under that account. Change
the regional settings as appropriate.
I think that's correct.
 
M

Markus Weber Megalith

Thanks for information. So you say that I have to create a new
IUSR_xxx account on IIS?. If so how do I know the password fo rthis
user?
 
T

Tom B

No, your website will be running under the already existing IUSR_machinename
account. IIS automatically manages the password for this account. You'll
have to go into user manager and set a new password for it, then login as
that user.

I'm trying to look up the appropriate knowledge base Item, but I'm having
trouble with my internet connection today.

Try www.aspfaq.com they may have something as well.
 
M

Markus Weber Megalith

Thanks for help, but I think you misunderstand me.

I have no problems in ASP itself. The problem is with components in
ASP.

E.g.:
Server is installed with englisch regional settings.
After setup I changed setting to german and also set default setting
to german.

If I show "Now" on the ASP page the result is "1.8.2003". This is
german so correct. But if I do the same in a VB-ActiveX compinentn I
use on an ASP page the result is "8/1/2003" what is englisch format
and not german format.

Logon as a special user doesn't help, because componets already access
by account "IUSR_xxx".
 
T

Tom B

I think the problem is the same though, the Activex Component is running
under an unitialized account.

this kb article
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q264063
is about asp but mentions changing the registry.

<snip>
Setting the following value in the registry forces IIS 5.0 to pull the
default system format for the Date and Time functions, but is not
recommended for locales that use non-English character sets:


HKEY_USERS\.DEFAULT\Control Panel\International\Locale = 00000409

</snip>
 
P

Parker Zhang [MSFT]

Hi Markus,

To change the password for IUSR_ machinename,

click Start -> Program -> Administrative Tools -> Active Directory Users
and Computers -> click Users -> Right click the IUSR_ machinename -> select
Set Password...

And then log on the machine with the user of IUSR_machinename and change
the country settings.

HTH,
 
M

Markus Weber Megalith

Some things (I can't determine exactly which) have changed to german
format, but not all. If I return langue within an activex component
it's still "english (unated states) instead og "German(Germany)".
 
M

Markus Weber Megalith

The component is written with Visual Basic 6. I use API
"GetLocaleInfo" and it returns "English(united states)". but also if I
just return "Now" from copnonent I get englisch format.
 
M

Markus Weber Megalith

I get it work now by patching reginal settings directly to key
"HKEY_USERS/.Default/Control Panel/International/Locale".

Thanks to all of you for help!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,081
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top