better error message when doing db access in non-db suite