Solved

Unable to get Windows Authentication to work in IIS7

Posted on 2011-09-02
9
488 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
 
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
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!

 
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

746 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now