Re: Custom RoleProvider + <allow roles> not working



Thank you very much. That fixed it.

When the users are denied access they are taken back to the login page
and I am unable to trap the 'Access Denied' error to display a custom
error page. I tried trapping it on Application_Error and with
<customErrors> in web.config and couldnt get it.

Is there a way to trap this 'Access denied' error when the user is not
in a specific role?

Thanks
Seetha

.



Relevant Pages