EREP_DB_NOTCONNECTED (0x1031)

You have requested an operation that requires a connection to an open Repository database, and you do not currently have such a connection. Open the appropriate Repository and try your request again.