Solved

IIS 7 Basic Auth keeps asking for password

Posted on 2016-09-19
5
69 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 16

Accepted Solution

by:
Emmanuel Adebayo earned 500 total points
Comment Utility
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
Comment Utility
I think I'm missing the last bit, adding the user to the IUSR group, I'll give that try tomorrow

thanks
0
 
LVL 26

Expert Comment

by:Dan McFadden
Comment Utility
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 26

Expert Comment

by:Dan McFadden
Comment Utility
Any additional info?

Dan
0
 

Author Closing Comment

by:BrianFord
Comment Utility
Adding to the IUSR group worked
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

744 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

9 Experts available now in Live!

Get 1:1 Help Now