error message when db not writable