000768 : Cannot import schema changes from a replica to itself.
Description
This error occurs if a schema changes document is imported into the wrong replica in a replica pair. This can mean either
- You created the schema changes document for the correct replica but are importing into the wrong replica geodatabase by mistake.
- The schema changes document was generated for the wrong replica.
Solution
For case 1, import the schema changes document into the relative replica geodatabase. For case 2, it is recommended that you redo the workflow for applying schema changes by doing the following:
- Run the ExportReplicaSchema tool to export the schema of the relative replica.
- Run the CompareReplicaSchema tool to create the schema changes document. The Compare to Replica Geodatabase parameter should be the geodatabase you want to apply the schema changes to. The Relative Replica Schema File is the schema document of the relative replica, which was the output of running the Export ReplicaSchema tool in the previous step.
- Run the ImportSchemaChanges tool to import the schema changes file into your replica. Refer to Working with schema changes to learn more about applying schema changes.
11/18/2010