I am trying to restore my database from a file and get the following error:
"Explicit DROP INDEX not allowed by index ..." "It is used to force the PRIMARY KEY."
If I delete the primary key and create a new backup, it restores perfectly.
Unique things about the primary key: - It is on the default GUID NEWSEQUENCIALID () - It is used for merge replication
Some tables with identical primary key structures are restored just fine. But there are 2 tables that lead to the above error when I set the primary key.
source share