Windows Server Forums  

Go Back   Windows Server Forums > Windows Server Help and Discussions > Internet Information Services (IIS) Help

We have a folder on our domain just like this: htttp://www.mydomain.com/login/ which has the "enable anonymous access" option unchecked and the "integrated windows authentication" option checked. When trying to access



Reply
 
LinkBack Thread Tools Display Modes
Old 01-24-2007, 04:23 AM   #1 (permalink)
IISnoob
Junior Member
 
Join Date: Jan 2007
Posts: 5
Rep Power: 0
IISnoob is on a distinguished road
Default 401.2 error under IIS6 but user is NOT prompted to log in

We have a folder on our domain just like this:

htttp://www.mydomain.com/login/

which has the "enable anonymous access" option unchecked and the "integrated windows authentication" option checked.

When trying to access this folder from a variety of machines using windows 98 and XP with IE6, IE7 and the latest Firefox we are prompted to log in. Entering the correct details grants us access to the folder as expected.

However, we have 1 or 2 users (1 is using IE6 on Windows XP) who are simply shown the "401.2 - you are not authorised to view this page" error message when they are never actually prompted to log in.

I can find no help on why this might be... why would a small percentage of users be blocked from accessing the folder without being offered the chance to provide login credcentials first?
IISnoob is offline   Reply With Quote
Old 01-24-2007, 05:45 AM   #2 (permalink)
IISnoob
Junior Member
 
Join Date: Jan 2007
Posts: 5
Rep Power: 0
IISnoob is on a distinguished road
Default

also: meant to say that when the user sees this error message they do not seem to log a success audit or a failure audit in the event log.
IISnoob is offline   Reply With Quote
Old 01-25-2007, 06:27 PM   #3 (permalink)
BSchwarz
Administrator
 
BSchwarz's Avatar
 
Join Date: Sep 2006
Location: Joliet, IL, U.S.A.
Age: 53
Posts: 71
Rep Power: 10
BSchwarz has disabled reputation
Send a message via AIM to BSchwarz Send a message via MSN to BSchwarz Send a message via Yahoo to BSchwarz
Default

This happens all the time?
I have never run into this problem. We have users logging with IE5, 6, 7, Firefox and even Safari on Macs and none have ever reported this problem.
My bet would be it a problem on the users end. A setting in the browser.
BSchwarz is online now   Reply With Quote
Old 01-26-2007, 03:33 AM   #4 (permalink)
IISnoob
Junior Member
 
Join Date: Jan 2007
Posts: 5
Rep Power: 0
IISnoob is on a distinguished road
Default Re: 401.2 error under IIS6 but user is NOT prompted to log in

Hi,

thanks for the reply.

yes, it happens all the time for that user on the two machines in his office.

He has a home machine that IS prompted on the same folder. There must be another 60 users for diff. folders on that server who have no problem whatsoever so I suspect the same (browser/machine settngs fault) but getting distant users to comply and follow instructions can be frustrating at times and hard to achieve.

We've tried enabling/disabling "enable integrated windows authentication" in advanced options of IE6 but this apparently has no effect.

I've asked the user to reset their browser to default settings and delete all cache/history/forms/profile/auto-complete data but have yet to hear back.

Would love to get my hands on an affected machine... working by proxy is too slow. Was really hoping that someone technical had seen and solved this error...
IISnoob is offline   Reply With Quote
Old 01-26-2007, 09:53 AM   #5 (permalink)
BSchwarz
Administrator
 
BSchwarz's Avatar
 
Join Date: Sep 2006
Location: Joliet, IL, U.S.A.
Age: 53
Posts: 71
Rep Power: 10
BSchwarz has disabled reputation
Send a message via AIM to BSchwarz Send a message via MSN to BSchwarz Send a message via Yahoo to BSchwarz
Default Re: 401.2 error under IIS6 but user is NOT prompted to log in

When you start dealing with user settings things get a little tricky. Is this persons permissions on the server any different than everyone else?
Same group, same access permissions?
BSchwarz is online now   Reply With Quote
Old 01-26-2007, 09:58 AM   #6 (permalink)
IISnoob
Junior Member
 
Join Date: Jan 2007
Posts: 5
Rep Power: 0
IISnoob is on a distinguished road
Default Re: 401.2 error under IIS6 but user is NOT prompted to log in

everything is the same. the username and password he uses work fine on 11 machines in my office with multiple OS and browsers.
IISnoob is offline   Reply With Quote
Old 02-01-2007, 03:52 AM   #7 (permalink)
IISnoob
Junior Member
 
Join Date: Jan 2007
Posts: 5
Rep Power: 0
IISnoob is on a distinguished road
Default Re: 401.2 error under IIS6 but user is NOT prompted to log in

After routing about in more settings we tried changing the following:

Tools > Internet options > Securtity > [select Internet] Custom Level...

scroll all the way down to the bottom of the list and there's a "User Authentication" > "Logon" setting with 4 options.

The user had the same setting as myself ("Automatic Login only in Intranet Zone") but we changed it anyway to the last of the 4 ("Prompt for Username and Password")

Upon re-tyring the URL the user was finally prompted for the username and password and successfully logged in.

problem solved I guess.
IISnoob is offline   Reply With Quote
Old 02-01-2007, 12:16 PM   #8 (permalink)
BSchwarz
Administrator
 
BSchwarz's Avatar
 
Join Date: Sep 2006
Location: Joliet, IL, U.S.A.
Age: 53
Posts: 71
Rep Power: 10
BSchwarz has disabled reputation
Send a message via AIM to BSchwarz Send a message via MSN to BSchwarz Send a message via Yahoo to BSchwarz
Default Re: 401.2 error under IIS6 but user is NOT prompted to log in

Weird. Glad you got it fixed. I'll remember this for future reference.
BSchwarz is online now   Reply With Quote
Reply

Bookmarks

Tags
error, iis, iis6, log, prompted, user, windows 2003, windows server


Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 10:59 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2008 Robert Schwarz, Sr. - All rights reserved. Windows Server Forum is an independent web site and is not affiliated with Microsoft Corporation.