EREP_DB_DBMSONETHREAD (0x1033)

The Repository database that you have attempted to access is managed by a database server that does not support multithreaded access. The thread attempting the access is not the same as the thread that currently has the open Repository instance for the database. Either move your Repository database to a database server that supports multithreaded access, or modify the logic of your program to use a single thread for Repository database access.