After installing IIS on my dev system, window xp professional, its asking for username and password while trying to access http://localhost. Can you please help me out. Tried googling and tried may things but could not resolve the issue.
- Anonymous access is enabled
- iusr_ is given full access to the wwwroot folder
- asp.net2.0 has been registered
etc. But still not working. :(
EDIT:
Now the password issue has gone off and shows this:
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'GetObject'
/localstart.asp, line 40
Browser Type: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Page: GET /localstart.asp
Another try: is there a web.config file in wwwroot (or in a parent folder)? If yes, check if authentication is explicitly defined:
See: How To: Use Windows Authentication in ASP.NET 2.0 (MSDN)
Put a simple test.html (create it there, don't copy from another location) in the wwwroot folder and try to access it.
Check, if the permissions you assigned to wwwroot propageted to the single files in that folder (right-click, Security-tab etc.).
Do you use a virtual directory which points to a different folder which you didn't assign the permissions?
Instead of using http://localhost, can you use http://pcname, where pcname is whatever your computer name is.
If you're using Firefox try it with IE instead.
Also try this method (from http://www.msfn.org/board/lofiversion/index.php/t33489.html):
Since you are running on Windows XP Professional, I would try turning off simple file sharing. To access simple file sharing go to Windows Explorer-->Tools-->Folder Options-->View-->all the way down at the bottom there will be an option for simple file sharing. To turn it off uncheck the box.
The version of IIS (PWS) included in XP and versions since has a backdoor capable of revealing the plaintext password of the IIS user accounts.
You can expose the password for the anonymous user account and plug it into the pesky UserID/Password prompt in your troubleshooting process. One of many tools capable of revealing this password and one I've chosen based on its reliability is IISPWDS.exe (hosted by the author at http://www.chambet.com/iismetabase.html).
But like most free security tools, downloading it and using it will anger your antivirus.
For a period of time, Microsoft quietly provided the ability to view the password using a version of their MetaEditor or IIS Resource Kit for Windows Server 2003, it doesn't offend Antivirus programs if you require something so genteel.
The advice of others to check your directory perms is sound along with avoiding modification of the wwwroot directories, even the basic WebServer parameters unless you're fluent in web server administration (which CLEARLY YOU AREN'T based on your platform choices).
You're in dire need of patching your dev unit with at least the latest service pack to ameliorate the phonebook thick list of browser, web server and especially scripting issues included with every Microsoft product that barely conforms to common industry standards and communication protocols.
Or, become accustomed to struggling every inch of every day when attempting to use your XP dev WebServer in the manner you've described.