?
Solved

Unable to get Windows Authentication to work in IIS7

Posted on 2011-09-02
9
Medium Priority
?
496 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

718 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