N
Nick Wright
Hi,
I'm trying to set up, what I thought was a simple custom
error message. I'm trying to trap 'Access Denied'. My site
is using windows authentication, 10 users have access...
The customer errors web.config bit is set up...
<customErrors mode="On"
defaultRedirect="Errors/AccessDenied.aspx">
<error statusCode="401"
redirect="Errors/AccessDenied.aspx"/>
</customErrors>
But, how does this AccessDenied.aspx page ever get
displayed if the users doesn't have access to the web
site...?
How do I acheive this....?
Regards
I'm trying to set up, what I thought was a simple custom
error message. I'm trying to trap 'Access Denied'. My site
is using windows authentication, 10 users have access...
The customer errors web.config bit is set up...
<customErrors mode="On"
defaultRedirect="Errors/AccessDenied.aspx">
<error statusCode="401"
redirect="Errors/AccessDenied.aspx"/>
</customErrors>
But, how does this AccessDenied.aspx page ever get
displayed if the users doesn't have access to the web
site...?
How do I acheive this....?
Regards