I'm trying to create a one-way replica between two ArcGIS Enterprise Geodatabases. The process works when I select only the tables in the parent. The replica will successfully copy all datasets to the child database. However, when I select the feature classes (there are hundreds of them), the process fails after about 17-18 minutes or so.
Replica Settings:
Error Message:
ERROR 000582: Error occurred during execution. Item with the same path
name already exists.
The child database is essentially empty and doesn't contain any feature classes yet. My first thought was that the process was truncating long feature class names, however, the feature class name length limit is 255 characters and the longest one (including database name and schema is 95 characters).
Both databases are on different servers. Both servers are are Windows Server 2016. Databases are SQL Server 2017.
I had a look at this site, where one suggestion is to create a replica on each individual dataset to see which one is causing the error. However, there are over 600 feature classes. Is there an easy way to figure out what is going on here?
Best Answer
Using following code, you can use identify the feature class that is causing this problem. But before using this delete/unregister previous replicas.