Link to home
Start Free TrialLog in
Avatar of rstuemke
rstuemke

asked on

New Server - Now Web Site Wants Password

Hello,

I just installed a new Win 2003 server, with Exchange 2003 and IIS.  I copied my web site from old server to new one and set it up the same, as far as I can tell.  However, when I try to access the web site it wants a userid and password.
Anonymous access is enabled, with userid/password required only if anonymous fails, just like the old server.
Any ideas?  Please advise.  Thanks
Avatar of Steve Knight
Steve Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Check the NTFS permissions.  The anonymous user will be different for starters so if the IUSR_Computername user does not have rights to the folders it will prompt for a logon of credantials that do exist in NTFS.

Steve
Avatar of rstuemke
rstuemke

ASKER

No...that did not work.  I added the same permissons for IUSR_<server name> that exists on the old server, which is still up and running our website.   Added to C:\INETPUB\WEBSITE, just like old server.  Replaced existing permissions also.  In IE, I enter:

http://<server>.<domain name> and am still prompted for a password.
Also, I moved the FTP site, which does require a userid/password and it works fine.
you may also read read/read & execute/list folder contents for the IIS_WPG and IWAM_<server name> accounts.

If that doesn't fix it, check that it is a security issue test it out by giving Everyone Full Control access (you can always take it off later)
I changed it so there was no fallback if anonymous access failed...definitely a permissions problem.
Replace the IUSR_xxx userid with my own userid which has full permissions to everything (admin accnt)
It then loaded the web page with no userid request.....ok....gave C:\inetpub, read/execute/list perms for userid IUSR_xxx and IIS_WPG. Still failed.  Checked old web site perms and no IWAM or IUSER were in the access list. for this directory.....also replaced the perms to all subdirectories and files......but still fails....so it is perm some where other than that directory????
ASKER CERTIFIED SOLUTION
Avatar of Steve Knight
Steve Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Found this answer to another question and tried it and it seems to have fixed the problem:


Obtain the IUSR account password
cscript.exe adsutil.vbs get w3svc/anonymoususerpass

Obtain the IWAM account password
cscript.exe adsutil.vbs get w3svc/wamuserpass

Set the IUSR account password
cscript.exe adsutil.vbs set w3svc/anonymoususerpass "password"

Set the IWAM account password
cscript.exe adsutil.vbs set w3svc/wamuserpass "password"

http://support.microsoft.com/default.aspx?scid=kb;EN-US;297989

The set the password in the Active Directory to the same thing used with the set commands and it seems to work...at least inside the the network...have to try it from a remote location.....
Ahh so it was a sync of isue account issue like I suggested though, sorry for not coming back with a link for you, didn't see a comment back so didn't come back to the Q.

Steve
Thanks.  Food for future thought.

Thanks for the points then -- sometimes difficult to keep track of questions requiring a further look, normally you can rely on there being more comments from someone, this one slipped through!

Steve