<?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: AddAttachments GP Tool Not Working for SDE Feature Classes in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561212#M18561</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried to repro this on a number of machines here and was unable to. I would suggest contacting Tech Support so that they can help determine where this is failing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Aug 2012 20:45:06 GMT</pubDate>
    <dc:creator>RussellBrennan</dc:creator>
    <dc:date>2012-08-06T20:45:06Z</dc:date>
    <item>
      <title>AddAttachments GP Tool Not Working for SDE Feature Classes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561209#M18558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having trouble getting the AddAttachments GP Tool to work with SDE feature classes. The tool works nicely with the same feature class in a file geodatabase. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its not failing per se just returning messages like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot add file 'x'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Notes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I am using the same Input dataset and Match table with the OBJECT ID as the key&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) the Path field is a UNC Path. I tried converting the UNC to a mapped drive....no dice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) These files exist on disk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) I have tried running the tool within an edit session via arcpy and the da module. Doesn't work either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) Its not a privilege issue, I can load the attachments manually in ArcMap&amp;nbsp; (1 @ a time).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6) The attachment table is registered as versioned. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7) Local 10.1 Desktop client with a direct connect to a 10.0 geodatabase (SS 2008 R2).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help on this would be greatly appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;James&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 14:32:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561209#M18558</guid>
      <dc:creator>JamesGustine</dc:creator>
      <dc:date>2012-07-19T14:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: AddAttachments GP Tool Not Working for SDE Feature Classes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561210#M18559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi James, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you reference the full path to the data (feature class with attachments enabled) when you run the tool rather than the layer name from the TOC do the attachments get added successfully?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 14:58:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561210#M18559</guid>
      <dc:creator>RussellBrennan</dc:creator>
      <dc:date>2012-07-20T14:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: AddAttachments GP Tool Not Working for SDE Feature Classes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561211#M18560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for looking into this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No. the attachments fail to load in all scenarios, via ArcCatalog (with full paths) and ArcMap (with Layer name in the TOC and full path). Same result in VS2010 using python.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 16:55:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561211#M18560</guid>
      <dc:creator>JamesGustine</dc:creator>
      <dc:date>2012-07-20T16:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: AddAttachments GP Tool Not Working for SDE Feature Classes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561212#M18561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried to repro this on a number of machines here and was unable to. I would suggest contacting Tech Support so that they can help determine where this is failing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 20:45:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561212#M18561</guid>
      <dc:creator>RussellBrennan</dc:creator>
      <dc:date>2012-08-06T20:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: AddAttachments GP Tool Not Working for SDE Feature Classes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561213#M18562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi James,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you ever get down to the cause of this? I'm discovery with tech support at the moment and would welcome any additional insight.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 13:36:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561213#M18562</guid>
      <dc:creator>MichaelDesroches</dc:creator>
      <dc:date>2012-10-22T13:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: AddAttachments GP Tool Not Working for SDE Feature Classes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561214#M18563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having similar issue; add attachments work fine in a local file gdb, but as soon as I try this within SDE I get results that show Cannot add file _____.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure if it is a privileges issue within SDE for that particular db, something to do with replication? I am using 10.1 SP1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 16:30:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561214#M18563</guid>
      <dc:creator>TaraGallant</dc:creator>
      <dc:date>2012-12-21T16:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: AddAttachments GP Tool Not Working for SDE Feature Classes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561215#M18564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I worked with tech support to "resolve this". Not sure of the root cause, but the work around is to create a copy of the feature class in SDE and run the tool on that. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if that works for you. Mabey someone else has a better idea. At this point my plan is to export the copy the gdb to a dev environment upate the attachments and move it back to production.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 16:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561215#M18564</guid>
      <dc:creator>JamesGustine</dc:creator>
      <dc:date>2012-12-21T16:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: AddAttachments GP Tool Not Working for SDE Feature Classes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561216#M18565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a known bug, and I have been told by esri tech support that the geoprocessing team is taking a look at it to be included in the sp2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 17:07:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561216#M18565</guid>
      <dc:creator>MichaelDesroches</dc:creator>
      <dc:date>2012-12-21T17:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: AddAttachments GP Tool Not Working for SDE Feature Classes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561217#M18566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is the only thread that I have come across that addresses this issue, but I am experiencing the same behavior in ArcGIS 10.1.&amp;nbsp; Just like the original poster, I have tried:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.&amp;nbsp; GP tool and python via python window in Desktop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&amp;nbsp; Tried running GP tool in an edit session.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.&amp;nbsp; File(s) exist on disk on the machine that I am running this tool from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4.&amp;nbsp; Tried mapped drive and local paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5.&amp;nbsp; I can add an attachment manually, so that is working and I have the necessary rights to do so.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6.&amp;nbsp; Tried running GP tool from Catalog and Desktop&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7.&amp;nbsp; Etc.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error is the same as well: "Cannot add file 'X' to feature with OID = 'X'"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The feature class participates in a replica, so making a copy is not an option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The environment is ArcGIS for Desktop Standard 10.1, SP1.&amp;nbsp; Database in SDE; geodatabase version matches the ArcGIS release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 20:22:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561217#M18566</guid>
      <dc:creator>TimothyMichael</dc:creator>
      <dc:date>2013-01-09T20:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: AddAttachments GP Tool Not Working for SDE Feature Classes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561218#M18567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I opened a case with Esri support and found that this behavior is a known bug - NIM073706 - that pertains to running the Add Attachments tool against data that is registered as versioned.&amp;nbsp; The work around that I used was to compress my database, unregister the feature dataset and attachment table as versioned, and then run the tool.&amp;nbsp; After the tool ran successfully I registered my data as versioned again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 21:35:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561218#M18567</guid>
      <dc:creator>TimothyMichael</dc:creator>
      <dc:date>2013-01-22T21:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: AddAttachments GP Tool Not Working for SDE Feature Classes</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561219#M18568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I opened a case with Esri support and found that this behavior is a known bug - NIM073706 - that pertains to running the Add Attachments tool against data that is registered as versioned.&amp;nbsp; The work around that I used was to compress my database, unregister the feature dataset and attachment table as versioned, and then run the tool.&amp;nbsp; After the tool ran successfully I registered my data as versioned again.&lt;BR /&gt;&lt;BR /&gt;--Tim&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to add to Tim's suggestion (which worked great)... You have to actually right click the attachment table and uregister as versioned as only unregistering the feature class as versioned doesn't cascade down to this table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the suggestion Tim!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 19:50:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/addattachments-gp-tool-not-working-for-sde-feature/m-p/561219#M18568</guid>
      <dc:creator>KyleMorgan</dc:creator>
      <dc:date>2013-07-23T19:50:37Z</dc:date>
    </item>
  </channel>
</rss>

