Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
Is it possible to do a redirection to an error page when umbraco isn't connected to the database in the Web.Config connectionString .
if its possible, Where would i do this redirection in my umbraco application . Thank you for helping out
Hi Akeem,
You need to configure your solution for catching 500 errors.
Info how to setup it you can finde here - http://letswritecode.net/articles/how-to-setup-custom-error-pages-in-umbraco/
and
http://adaodeveloper.blogspot.in/2015/09/umbraco-500-error-page.html
Cheers
Hi Alex,
I cant display the error page when the database is disconnected and thats what i want to archive ...
to display a file cshtml, when the database is not connected
Then you need to catch this error, and handle by code, in answer you can simply redirect to the some action or render cshtml view.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Redirection when umbraco is not conneced to the database Connectionstring
Hi,
Is it possible to do a redirection to an error page when umbraco isn't connected to the database in the Web.Config connectionString .
if its possible, Where would i do this redirection in my umbraco application . Thank you for helping out
Hi Akeem,
You need to configure your solution for catching 500 errors.
Info how to setup it you can finde here - http://letswritecode.net/articles/how-to-setup-custom-error-pages-in-umbraco/
and
http://adaodeveloper.blogspot.in/2015/09/umbraco-500-error-page.html
Cheers
Hi Alex,
I cant display the error page when the database is disconnected and thats what i want to archive ...
to display a file cshtml, when the database is not connected
Hi Akeem,
Then you need to catch this error, and handle by code, in answer you can simply redirect to the some action or render cshtml view.
is working on a reply...