IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 24th, 2004, 03:41 PM
spatel600 spatel600 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 spatel600 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
IIS Website not authenticating anonymous

I just upgraded our systems from Windows 2k Adv. Server to Windows 2k3 Web Edition. I am have a few problems hosting our sites. As I host a site and the anonymouse account-- IUSR_ourserver the rights to access the necessary documents and folders and in iis the anonymous login is IUSR, when i go to the site it asks for a user name and password. If i disable Windows authentication then the error 401.1 comes up, without asking for a user or pass. I have gone through so many times trying to figure out what is wrong. I even gave IUSR full rights to everything and still nothing helped. These sites are flash and I don't think it has to do with the problem. Please let me know how to fix this authentication problem.

Reply With Quote
  #2  
Old February 24th, 2004, 07:55 PM
TheLarster TheLarster is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 4 TheLarster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I am having the exact same problem, I hope someone replies!

Reply With Quote
  #3  
Old February 25th, 2004, 03:19 AM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 2 Weeks 2 m 8 sec
Reputation Power: 92
Are you using only plain static html (or htm) pages, or are you using something dynamic such as PHP, ASP, Perl, Server Side Includes etc?

Reply With Quote
  #4  
Old February 25th, 2004, 09:08 AM
spatel600 spatel600 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 spatel600 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for all your help

Actually it had something to do with the password syncronization with iis. I had to edit the metabase and then reset the password and it started to work just fine. Thanks again shaun

Reply With Quote
  #5  
Old February 25th, 2004, 02:45 PM
TheLarster TheLarster is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 4 TheLarster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Shaun,

What in the did you edit in there?

Reply With Quote
  #6  
Old February 29th, 2004, 06:37 PM
TheLarster TheLarster is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 4 TheLarster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Any ideas anyone? And yes I"ve checked all permissions for the anonymous user and even re-installed IIS.

Reply With Quote
  #7  
Old March 1st, 2004, 01:39 PM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 2 Weeks 2 m 8 sec
Reputation Power: 92
What version of IIS are you using? If it is version 5 with 2000, on the Authentcation and Access Control page in IIS where you enable Anonymous access untick the option to allow IIS to control the password. Instead, enter your own password. Then, in Computer Management, reset the password for the IUSR_computername to your new password. Maybe this will help.

I think the problem is that if IIS controls the password and the password that IIS has differs from the password set for the user, then it is unable to logon. Not sure exactly how you would edit the metabase to restore functionality allowing IIS to control the password though.

Reply With Quote
  #8  
Old March 1st, 2004, 03:05 PM
TheLarster TheLarster is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 4 TheLarster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'll try that, but I am running IIS 6 so I don't know if the option for having IIS control the password is there (not at my server right now.)

Reply With Quote
  #9  
Old March 1st, 2004, 03:12 PM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 2 Weeks 2 m 8 sec
Reputation Power: 92
I've just checked and there is no option to allow IIS to control the password. I assume, therefore, that by default IIS doesn't control the password (not sure though). Perhaps you can just enter the username: IUSR_computername, and a password of your choice, and then as long as you remember to set the password in the Computer Management, it may work.

Reply With Quote
  #10  
Old May 19th, 2004, 10:42 AM
mkroehler mkroehler is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 1 mkroehler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Verify that the IUSR account has logon locally rights. Without it, anonymous access will fail.

Reply With Quote
  #11  
Old September 7th, 2004, 09:11 PM
dwilliam2 dwilliam2 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 4 dwilliam2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Any resolution to the IIS 6 anonymous access problem?

Quote:
Originally Posted by TheLarster
I'll try that, but I am running IIS 6 so I don't know if the option for having IIS control the password is there (not at my server right now.)


Hello, I'm having the same problem you described, where anonymous access access fails with an http 401.1 error. Could you please tell me the steps you took to resolve this problem?

Reply With Quote
  #12  
Old September 7th, 2004, 09:27 PM
GaneshAnekar GaneshAnekar is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 21 GaneshAnekar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 44 m 57 sec
Reputation Power: 0
Hello,

You could run Filmon to check if there is any "access denied" errors.
You could download Filemon from www.sysinternals.com

Make sure the permissions on the content is set correctly as per this KB article.
812614 Default permissions and user rights for IIS 6.0
http://support.microsoft.com/?id=812614

Try enabling auditing for logon events for Failure it will generate security event log.

Also you might want to verify the IUSR password in sync with IIS metabase and user manager.

HTH.
Ganesh

Quote:
Originally Posted by dwilliam2
Hello, I'm having the same problem you described, where anonymous access access fails with an http 401.1 error. Could you please tell me the steps you took to resolve this problem?

Reply With Quote
  #13  
Old September 8th, 2004, 02:34 PM
dwilliam2 dwilliam2 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 4 dwilliam2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by GaneshAnekar
Hello,

You could run Filmon to check if there is any "access denied" errors.
You could download Filemon from www.sysinternals.com

Make sure the permissions on the content is set correctly as per this KB article.
812614 Default permissions and user rights for IIS 6.0
http://support.microsoft.com/?id=812614

Try enabling auditing for logon events for Failure it will generate security event log.

Also you might want to verify the IUSR password in sync with IIS metabase and user manager.

HTH.
Ganesh

I have previously checked the permissions based on KB 812614, and it checked out okay. I also checked the security event log and the anonymous logon user (iusr_machinename) is logging on successfully.

If I access an html file in the same directory, there is no problem. But if I access an asp or asp.net file, I get the "401.3 access denied due to an ACL.." error. Both ASP and ASP.NET have been enabled.

Thanks.

Reply With Quote
  #14  
Old September 8th, 2004, 05:48 PM
GaneshAnekar GaneshAnekar is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 21 GaneshAnekar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 44 m 57 sec
Reputation Power: 0
could you please check local security policy for any "Deny"?

Try adding IUSR into local admin group.

Try restarting IISadmin service.

Thanks.
Ganesh

Reply With Quote
  #15  
Old September 9th, 2004, 08:15 PM
dwilliam2 dwilliam2 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 4 dwilliam2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ASP and ASP.NET worked after adding IUSR_machine name account to Users group

Quote:
Originally Posted by GaneshAnekar
could you please check local security policy for any "Deny"?

Try adding IUSR into local admin group.

Try restarting IISadmin service.

Thanks.
Ganesh


I added the IUSR_machinename account to the 'Users' group, restarted IIS, and now asp and asp.net pages are accessible with security set to anonymous access. I'm not sure if this is the correct thing to do, but it works. Is this documented anywhere as a requirement?

Late yesterday I had found an alternate way to get ASP and ASP.NET working. It was by enabling/disabling all the Local Security Settings having to do with Network Access and anonymous users. I set ALL of the following to be the least restrictive setting:

Network access: Allow anonymous SID/Name translation (I CHANGED TO ENABLED)
Network access: Do NOT allow Anonymous enumeration of SAM accounts (I CHANGED TO DISABLED)
Network access: Let Everyone Permissions apply to anonymous users (I ENABLED, but this by itself did NOT fix the problem)
Network access: Restrict anonymous access to Named Pipes and Shares (I CHANGED TO DISABLED)

When ALL of the above were set, asp and asp.net worked following a restart. I've since changed all these settings back to the default, more restrictive settings, since adding IUSR to the "Users" group seems to work.

Thanks for your suggestions. They were really helpful.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > IIS Website not authenticating anonymous


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts