PDA

View Full Version : Why does IIS6 ask for password each time a page loads


Bengal313
09-15-2006, 10:29 PM
Config: Windows Server 2003, IIS6, ASP, PHP

Everytime I load a page I get a dialog box asking me for username and password. How can I get rid of this?

oracleguy
09-15-2006, 11:07 PM
Make sure anynmous access is turned on for the site. Then make sure that the IUSER_<your machine name> has sufficent rights to read the files.

If you are using PHP and getting this, make sure the correct rights are setup so IIS can access the PHP engine.

jesscoburn
09-20-2006, 04:35 AM
shakim, if the page loads and displays atleast partially you can look at what items aren't displayed and adjust permissions as needed on those items. Alot of times we see this with dynamically generated images or images being called outside of the root folder. The other common cause is being logged in as a user in a password protected subfolder, navigating to another folder that's not password protected and not having read permissions on the items in that folder.

Jess