Error page for access attempt to forbidden page

Posted by Community Admin on 03-Aug-2018 22:21

Error page for access attempt to forbidden page

All Replies

Posted by Community Admin on 09-Dec-2011 00:00

I have a page whose access is limited to specific roles.  When an anonymous user or a user not in the desired role access the page I get a dotnet error page stating:
"This type of page is not served.
Description: The type of page you have requested is not served because it has been explicitly forbidden.     Please review the URL below and make sure that it is spelled correctly. "

How can I catch this and redirect it to a more user friendly error page?

Debugging is turned on right now, developing modules.

Posted by Community Admin on 09-Dec-2011 00:00

nevermind.  custom error pages work fine.

This thread is closed