Select to view content in your preferred language

Can't import replica: datasets with the same names exist in the selected geodatabase

1320
1
12-03-2010 04:43 AM
NolyWalker
New Contributor
When I attmept to create a disconnected replica with Data, transfer xml file and import through "Import XML Workspace" - I get this error:
�??Can�??t import replica: datasets with the same names exist in the selected geodatabase.�?�

Even when I disconnect and delete all previous connection. ArcSDE seems to have a lock or is not dropping the previous information. How do we fix this?
0 Kudos
1 Reply
HeatherMcCracken
Esri Contributor
nolyg;59256 wrote:
When I attmept to create a disconnected replica with Data, transfer xml file and import through "Import XML Workspace" - I get this error:

�??Can�??t import replica: datasets with the same names exist in the selected geodatabase.�?�

QUOTE]

This error means that you already have datasets in your target SDE workspace that have the same names as those that listed in the XML file. It doesn't mean that there is an open connection.  The import fails b/c it's trying to import data whose name collides with data that already exists in your target GDB.  For example, you already have PARCELS in your GDB, but your XML file is trying to import another FC named Parcels.

So, you have a couple of options
1) Delete the existing Data that collides with what you are trying to import again (i.e delete PARCELS)
OR
2) When you create the replica to an XML file in the first place, go to the advanced panels, and map the name of the FCs to somehting else (i.e PARCELS_1).  The data will then be imported with this name, and will not collide with any existing data. (Available starting at ArcGIS 10)
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Creating_a_one_way_or_two_way_replica/...
(see Step 18)

3) If you actually want to use your existing Parcels FC in the replica, please look into creating the replica with the option to "Register Existing Data Only"
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Replicas_created_with_the_option_to_re...

Hope this helps,
Heather
0 Kudos