Solved

Unable to get Windows Authentication to work in IIS7

Posted on 2011-09-02
9
492 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
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…

861 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