Solved

Unable to get Windows Authentication to work in IIS7

Posted on 2011-09-02
9
493 Views
Last Modified: 2012-05-12
I have a site I need to have a login prompt appear.
I disabled Anonymous and enabled Windows like I used to do in IIS6.
But I get a 401 error on the page now saying I'm unauthorized.

How can I have the site prompt for the login?
Note: I want the user to enter domain credentials.

Thanks
Ron
0
Comment
Question by:Capt_Ron
  • 5
  • 4
9 Comments
 
LVL 2

Expert Comment

by:awarren85
ID: 36475519
IIS 7 has lots of differences and configuring WIndows Authentication is a pain as it isn't a "one-click" checkbox like it was in IIS 6.

This website has step-by-step instruction:
http://www.iis.net/ConfigReference/system.webServer/security/authentication/windowsAuthentication
0
 
LVL 1

Author Comment

by:Capt_Ron
ID: 36475719
Thanks.
I tried that and I still cannot get it to work.
There has to be something I'm missing.
0
 
LVL 2

Expert Comment

by:awarren85
ID: 36475738
What web browser are you using to view the site?

Also, if you go to IIS 7, click the Website name in the left column, go to Authentication, what do you have?  On mine here, all are disabled except for Windows Authentication.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 1

Author Comment

by:Capt_Ron
ID: 36475752
IE9
Firefox

All are disabled except WIndows.
Provider is NTLM
Extended is Accept
Kernel-mode is unchecked
0
 
LVL 2

Expert Comment

by:awarren85
ID: 36475918
On mine at least, it's the following:

Kernel-Mode:  Checked
Extended:  Off
Provider (in this order):
    Negotiate
    NTLM

Maybe try mimicking these settings?
0
 
LVL 1

Author Comment

by:Capt_Ron
ID: 36475980
Nope.
Mimicked these and still no dice. :-(
0
 
LVL 2

Expert Comment

by:awarren85
ID: 36478645
Hrm, i'm stuck then.  Maybe check the event viewer on the server and see if you see domain errors?
0
 
LVL 1

Accepted Solution

by:
Capt_Ron earned 0 total points
ID: 37026331
Gave up.
Rebuilding servers from scratch.  Hoping something is wrong with these and new OS's will fix it.
0
 
LVL 1

Author Closing Comment

by:Capt_Ron
ID: 37052309
See note
0

Featured Post

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question