Solved

IIS 7 Basic Auth keeps asking for password

Posted on 2016-09-19
5
94 Views
Last Modified: 2016-10-04
I am trying to set up Basic Authentication for an IIS 7 ASP.NET web site running on Server 2008 R2

I have enabled Basic Authentication in IIS and disabled Anonymous authentication
I have created a 'local' user account on the server and given it full access to the sites folder but whenever I try to access the site it just keeps prompting for the username and password

What am I missing?
0
Comment
Question by:BrianFord
  • 2
  • 2
5 Comments
 
LVL 17

Accepted Solution

by:
Emmanuel Adebayo earned 500 total points
ID: 41805272
If you have disabled anonymous authentication and enable Basic Authentication, you will ot be able to access the website without a password.
Use the local account that you set up to access the website and for his account o work you need to add it to the IUSR_XXXX group.

I hope this helps.


Regards
0
 

Author Comment

by:BrianFord
ID: 41805666
I think I'm missing the last bit, adding the user to the IUSR group, I'll give that try tomorrow

thanks
0
 
LVL 27

Expert Comment

by:Dan McFadden
ID: 41806359
Of course, you Enabled Basic authentication, therefore IIS has an expectation that a user hitting the website will enter valid user credentials.

1.  What is this for an application?
2.  What are you trying to accomplish by enabling basic auth?
2.  What does the site do?

BTW, adding a user to the IIS group doesn't buy much in way of functionality or access unless that group is used for controlling NTFS permissions and anything in the application that has permissions assigned to it.

Dan
0
 
LVL 27

Expert Comment

by:Dan McFadden
ID: 41827910
Any additional info?

Dan
0
 

Author Closing Comment

by:BrianFord
ID: 41827930
Adding to the IUSR group worked
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
adding more drive space to the server 5 53
IIS URL Rewrite/Redirect Rule Help 4 19
Problem to setup GUI 11 33
WMI Setup on Server 2012 and 2008 GPO 1 15
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

773 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