Not getting correct 401-2 Access denied page
From: ashuattri (ashuattri.1i1393_at_mail.webservertalk.com)
Date: 12/29/04
- Next message: Colin Bowern: "Re: IIS6 Application Pool - Unspecified Error / Service Unavailable"
- Previous message: Colin Bowern: "IIS6 Application Pool - Unspecified Error / Service Unavailable"
- Next in thread: David Wang [Msft]: "Re: Not getting correct 401-2 Access denied page"
- Reply: David Wang [Msft]: "Re: Not getting correct 401-2 Access denied page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 29 Dec 2004 06:43:46 -0600
I have implemented Integrated Windows Authentication on my site and it
seems to be working fine except one thing that I am not getting 401-2
Access denied (C:\WINNT\help\iisHelp\common\401-2.htm) page once the
user provides wrong credentials. Instead it displays the name of the
virtual directory (which i donnot want to be shown to the user) and
says that you u are not authorized to view this page.
I am getting the following error if I enter wrong password three times
or press cancel the button:
Server Error in '/NTAuth' Application
Access is denied.
Description: An error occurred while accessing the resources required
to
serve this request. The server may not be configured for access to the
requested URL.
Error message 401.2.: You do not have permission to view this directory
or
page using the credentials you supplied. Contact the Web server's
administrator for help.
-----------------------
Whereas I want to get the following standard error page from the custom
errors of IIS:
C:\WINNT\help\iisHelp\common\401-2.htm
Content Below:
You are not authorized to view this page
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)
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Go to Microsoft Product Support Services and perform a title search for
the words HTTP and 401.
Open IIS Help, which is accessible in IIS Manager (inetmgr), and search
for topics titled About Security, Authentication, and About Custom Error
Messages.
Can anybody please suggest why I am getting that error page instead of
standard custom error page from IIS settings and how can get the
standard custom error page
-- ashuattri ------------------------------------------------------------------------ Posted via http://www.webservertalk.com ------------------------------------------------------------------------ View this thread: http://www.webservertalk.com/message855320.html
- Next message: Colin Bowern: "Re: IIS6 Application Pool - Unspecified Error / Service Unavailable"
- Previous message: Colin Bowern: "IIS6 Application Pool - Unspecified Error / Service Unavailable"
- Next in thread: David Wang [Msft]: "Re: Not getting correct 401-2 Access denied page"
- Reply: David Wang [Msft]: "Re: Not getting correct 401-2 Access denied page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]