Thanks but that didnt help.
Within system.web, here is what I added (beside the authorization block):
<customErrors defaultRedirect="~/noaccess.htm" mode="RemoteOnly">
<error statusCode="401.2" redirect="~/noaccess.htm"/>
</customErrors>
Still the login dialog is displayed and user is given 3 attempts to login
successfully.
What I am trying to do is to redirect user to noaccess page without showing
any login dialog.
"MSFT" <> wrote in message
news:...
> Hello,
>
> You may take a look at customErrors tag in web.config:
>
>
http://msdn.microsoft.com/library/de...us/cpgenref/ht
> ml/gngrfcustomerrorssection.asp
>
> When you found a special error occur, you can redirect customer a special
> page by this setting. (This error message page should be able to accessed
> by everyone)
>
> Hope this help,
>
> Luke
> Microsoft Online Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>