<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cannot copy Feature Dataset - Error 260 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/cannot-copy-feature-dataset-error-260/m-p/609737#M47606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Now I'm getting the error on both the server and my workstation which at least makes things more consistent.&amp;nbsp; I think yesterday I was testing it using different SDE accounts.&amp;nbsp; I uploaded my script.&amp;nbsp; It runs through all the SDE accounts and copies the feature classes, rasters, tables and feature datasets from one server to another.&amp;nbsp; There are feature datasets in other accounts, such as BAQP.&amp;nbsp; The script runs fine through the BAQP account which has three feature datasets; no errors.&amp;nbsp; But when it hits the BCA account with one feature dataset, I get error 000979.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&amp;nbsp; No errors.&amp;nbsp; However, if I use the guie ArcToolboox Copy tool, I immediately see error 000979 pop up.&amp;nbsp; When I run the arcpy code, I also see error 000979.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE Server 1 and 2 (Windows 2003 Server 32-bit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Workstation (Window 7 64-bit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a small example of failing code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
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',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r'Database Connections\BCA_NDEP23.sde\BCA.SHPO_copy', "FeatureDataset")
Runtime error &amp;lt;class 'arcgisscripting.ExecuteError'&amp;gt;: ERROR 000979: Cannot copy between different workspaces. 
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 02:05:49 GMT</pubDate>
    <dc:creator>StephanieSnider</dc:creator>
    <dc:date>2021-12-12T02:05:49Z</dc:date>
    <item>
      <title>Cannot copy Feature Dataset - Error 260</title>
      <link>https://community.esri.com/t5/python-questions/cannot-copy-feature-dataset-error-260/m-p/609735#M47604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I keep getting error 260 when I try to copy a feature dataset.&amp;nbsp; I can copy a feature class from one server to another, but it fails on the feature dataset.&amp;nbsp;&amp;nbsp; I've tried copying feature datasets in other directories too, but still get the 260 error in ArcGIS.&amp;nbsp; The error says that the &lt;/SPAN&gt;&lt;STRONG&gt;"in_memory" workspace is not supported as the output location&lt;/STRONG&gt;&lt;SPAN&gt;.&amp;nbsp; 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.&amp;nbsp; When I run the copy command as a script, I get &lt;/SPAN&gt;&lt;STRONG&gt;error 000979: Cannot copy between different workspaces.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the crazy thing.&amp;nbsp; Using another computer (my workstation), I can copy feature datasets just fine using the same script.&amp;nbsp; It only fails on the Backup ArcSDE server (NDEP-23) which has 29G of physical Memory.&amp;nbsp; On the server and on my workstation, both computers have ArcGIS 10 SP 4 installed.&amp;nbsp; I can't understand why one would give the errors and not the other.&amp;nbsp; Any ideas on what I need to look for in order to fix the copy error on the server?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 22:15:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-copy-feature-dataset-error-260/m-p/609735#M47604</guid>
      <dc:creator>StephanieSnider</dc:creator>
      <dc:date>2012-08-22T22:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy Feature Dataset - Error 260</title>
      <link>https://community.esri.com/t5/python-questions/cannot-copy-feature-dataset-error-260/m-p/609736#M47605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Stephanie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you post the script you are using?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 12:00:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-copy-feature-dataset-error-260/m-p/609736#M47605</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2012-08-23T12:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy Feature Dataset - Error 260</title>
      <link>https://community.esri.com/t5/python-questions/cannot-copy-feature-dataset-error-260/m-p/609737#M47606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Now I'm getting the error on both the server and my workstation which at least makes things more consistent.&amp;nbsp; I think yesterday I was testing it using different SDE accounts.&amp;nbsp; I uploaded my script.&amp;nbsp; It runs through all the SDE accounts and copies the feature classes, rasters, tables and feature datasets from one server to another.&amp;nbsp; There are feature datasets in other accounts, such as BAQP.&amp;nbsp; The script runs fine through the BAQP account which has three feature datasets; no errors.&amp;nbsp; But when it hits the BCA account with one feature dataset, I get error 000979.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&amp;nbsp; No errors.&amp;nbsp; However, if I use the guie ArcToolboox Copy tool, I immediately see error 000979 pop up.&amp;nbsp; When I run the arcpy code, I also see error 000979.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE Server 1 and 2 (Windows 2003 Server 32-bit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Workstation (Window 7 64-bit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a small example of failing code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
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',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r'Database Connections\BCA_NDEP23.sde\BCA.SHPO_copy', "FeatureDataset")
Runtime error &amp;lt;class 'arcgisscripting.ExecuteError'&amp;gt;: ERROR 000979: Cannot copy between different workspaces. 
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:05:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-copy-feature-dataset-error-260/m-p/609737#M47606</guid>
      <dc:creator>StephanieSnider</dc:creator>
      <dc:date>2021-12-12T02:05:49Z</dc:date>
    </item>
  </channel>
</rss>

