DNN 7.1 Error handling and redirection to error page
Add an Answer
Your question has been submitted and is awaiting moderation.
Hi all, when i used DNN 6, error redirection works fine by writing into web.config - so, if any exception raised(not only 404 not found) in custom DNN module - it redirect to the ErrorPage.aspx.
After updgrading DNN from 6.xx to 7.1 , it stopped working. If exception is "404 Not found" - it redirect to ErrorPage. But in all other cases - the "A critical error has occurred. An unexpected error has occurred" message occurs, but i need to redirect to ErrorPage.aps in this cases also.
What i must to do ??
It looks that DNN 7.1 module catch all exceptions and show this message.
Thank you in advance for your help!!!!!!!