Authentication Error 401.2
- by priya2010
I have an application buit partially in classic asp and in c#. The authentication used as
per the config file is windows. This is perfectly working.
Now I have to authenticate the users against active directory. (ie. if any AD users
requesting my application, it should authenticate the user (on login page load) and redirect
to the application home page instead of showing login page)
The login page is an asp page and I created an aspx page where the login.asp page will be
redirected during page load to autheticate with Active Directory. I hav e disabled anonymous
access in IIS and currently used only Integrated Windows Authentication. Also given
permission to "Authenticated Users" in Permissions.
While trying to access the login.asp page I am getting the following error.
You do not have permission to view this directory or page using the credentials that you
supplied because your Web browser is sending a WWW-Authenticate header field that the Web
server is not configured to accept.
Please try the following:
Contact the Web site administrator if you believe you should be able to view this directory
or page.
Click the Refresh button to try again with different credentials.
HTTP Error 401.2 - Unauthorized: Access is denied due to server configuration.
Internet Information Services (IIS)
Kindly help me to fix this issue.
Thanks,
Priya