The database must be opened in exclusive mode before it can be replicated. (Error 3491)

You attempted to replicate a database after opening the database in shared mode. Close the database and reopen it in exclusive mode, and then replicate it.