Select to view content in your preferred language

Cannot copy Feature Dataset - Error 260

2134
2
08-22-2012 03:15 PM
StephanieSnider
Frequent Contributor
I keep getting error 260 when I try to copy a feature dataset.  I can copy a feature class from one server to another, but it fails on the feature dataset.   I've tried copying feature datasets in other directories too, but still get the 260 error in ArcGIS.  The error says that the "in_memory" workspace is not supported as the output location.  I've tried setting the environment workspace to the origin directory and to the destination directory, but neither work. The feature dataset that I'm trying to copy does not already exist on the destination directory.  When I run the copy command as a script, I get error 000979: Cannot copy between different workspaces.

Here's the crazy thing.  Using another computer (my workstation), I can copy feature datasets just fine using the same script.  It only fails on the Backup ArcSDE server (NDEP-23) which has 29G of physical Memory.  On the server and on my workstation, both computers have ArcGIS 10 SP 4 installed.  I can't understand why one would give the errors and not the other.  Any ideas on what I need to look for in order to fix the copy error on the server?
Tags (2)
0 Kudos
2 Replies
JakeSkinner
Esri Esteemed Contributor
Hi Stephanie,

Could you post the script you are using?
0 Kudos
StephanieSnider
Frequent Contributor
Now I'm getting the error on both the server and my workstation which at least makes things more consistent.  I think yesterday I was testing it using different SDE accounts.  I uploaded my script.  It runs through all the SDE accounts and copies the feature classes, rasters, tables and feature datasets from one server to another.  There are feature datasets in other accounts, such as BAQP.  The script runs fine through the BAQP account which has three feature datasets; no errors.  But when it hits the BCA account with one feature dataset, I get error 000979.

In ArcCatalog, I can right click and copy the feature dataset from one server and paste it into the second server within the BCA accounts.  No errors.  However, if I use the guie ArcToolboox Copy tool, I immediately see error 000979 pop up.  When I run the arcpy code, I also see error 000979.

ArcSDE Server 1 and 2 (Windows 2003 Server 32-bit)
Workstation (Window 7 64-bit)

Here's a small example of failing code:
import arcpy
from arcpy import env
env.workspace = r'Database Connections\BCA_NDEP24.sde'
arcpy.Copy_management(r'Database Connections\BCA_NDEP24.sde\BCA.SHPO',
                      r'Database Connections\BCA_NDEP23.sde\BCA.SHPO_copy', "FeatureDataset")
Runtime error <class 'arcgisscripting.ExecuteError'>: ERROR 000979: Cannot copy between different workspaces. 
0 Kudos