Several things can generate this error. To get information about the cause of this error for a particular instance, look at the QDIRSRV job logs (as described in Monitor errors and access with the Directory Server job log) and the Structured Query Language (SQL) server job logs (as described in Troubleshoot Directory Server).