must set the DATABASE_ERROR_PAGE in the ApplicationConstants