500 Error from IIS 5.1 on Windows XP
Problem
Getting a 500 error from IIS 5.1 on Windows XP whilst trying to run from various document roots.
The server was unable to logon the Windows NT account ‘STSSERVERAdministrator’ due to the following error: Logon failure: user account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has been enforced. The data is the error code.
For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
Solution
IIS is configured with the wrong user. Change it to the “IUSR_” user.
- Open up the IIS Manager
- right-click properties
- “directory security” tab
- edit
- check “anonymous access”
- click browse
- “advanced”
- “find now”
- select the user starting with “IUSR_”
- ok (x3) to get out
- “Apply”
My problem was probably that I changed the machine name somewhere along the way. It didn’t carry the new user over and when I first looked at this screen I just picked the Administrator. Wrong choice.
I can recommend the program “XP PRO IIS Admin” for getting IIS to work with more than one site. Getting a bit old, but still works. It won’t make it serve multiple sites simultaneously, bit it does make it dead easy to switch the running site. Great for development.
John is a freelance programmer living in Sydney Australia. He blogs whatever takes his fancy; computing tips, travel letters, and random stuff from his life. He does it primarily to learn and demonstrate the running of a website.
Recent Comments