Error message whilst creating an image
This afternoon I was trying to make an image from database which is the publisher in replication and got an error message.
"2018-12-14 15:04:32.908 +00:00 [Error] Failed to detach database "SqlCloneTemp_w1qkgg5m" while cleaning up
System.Data.SqlClient.SqlException (0x80131904): Cannot drop the database 'SqlCloneTemp_w1qkgg5m' because it is being used for replication."
Does this mean that if a database is a publisher in replication it cannot be cloned?
"2018-12-14 15:04:32.908 +00:00 [Error] Failed to detach database "SqlCloneTemp_w1qkgg5m" while cleaning up
System.Data.SqlClient.SqlException (0x80131904): Cannot drop the database 'SqlCloneTemp_w1qkgg5m' because it is being used for replication."
Does this mean that if a database is a publisher in replication it cannot be cloned?
Tagged:
Best Answers
-
AaronC Posts: 15 Bronze 5Hi, are you using a version of SQL Clone that is 3.0.5 or later? if not, please update : )
-
AaronC Posts: 15 Bronze 5We dont have a easy way to do this yet. We generally discourage people from editing the SQL Clone config database. But if you really need to, you can manually update the locations in there.
You will need to remove all clones that reference to the image, otherwise they will be break.
Thank you for mentioning this requirement, we will take this feature request into consideration. : )
Answers
https://documentation.red-gate.com/clone3/troubleshooting/common-issues/attempted-to-perform-an-unauthorized-operation-while-creating-images
I will ask our sysadmin to double check the permissions on the networkshare. That said they might be a bit grumpy about since that was one aspect set up documentation that could be improved.