Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 417
  • Last Modified:

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
0
rstuemke
Asked:
rstuemke
  • 5
  • 4
1 Solution
 
Steve KnightIT ConsultancyCommented:
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
0
 
rstuemkeAuthor Commented:
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.
0
 
rstuemkeAuthor Commented:
Also, I moved the FTP site, which does require a userid/password and it works fine.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
bigphuckinglizardCommented:
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)
0
 
rstuemkeAuthor Commented:
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????
0
 
Steve KnightIT ConsultancyCommented:
It would be wherever the website points to which by default is c:/inetpub/www_root

Could there is a problem with the iusr account, the password has to be in sync with iis for instance - if you have renamed, changed password etc. on that user it could be an issue.  Using pda at the moment so can't find link for you - will post back later - but if you want it quicker google for reset iusr account perhaps.

Steve
0
 
rstuemkeAuthor Commented:
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.....
0
 
Steve KnightIT ConsultancyCommented:
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
0
 
rstuemkeAuthor Commented:
Thanks.  Food for future thought.

0
 
Steve KnightIT ConsultancyCommented:
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
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now