<?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: Registering a table with Geodatabase fails when GDB_GEOMATTR_DATA exists in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/registering-a-table-with-geodatabase-fails-when/m-p/1140528#M32342</link>
    <description>&lt;P&gt;Additional info for others that may be searching for this like I was.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The RegisterWithGeodatabase tool now throws out '&lt;SPAN&gt;ERROR&amp;nbsp;&lt;/SPAN&gt;160328: Cannot create a table with a duplicate column' if the&amp;nbsp;&lt;SPAN&gt;GDB_GEOMATTR_DATA column exists in the table you are trying to register.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For a python script, I am using&amp;nbsp; 'try...except arcpy.ExecuteError' to trap for this. If ERROR 160328 is presented, it deletes the&amp;nbsp;GDB_GEOMATTR_DATA and reruns&amp;nbsp;RegisterWithGeodatabase(). Registration will recreate that column, so do not be spooked if you see it show up again.&lt;BR /&gt;&lt;BR /&gt;Arcpy 2.9&lt;BR /&gt;MS SQL 14&lt;BR /&gt;Pro v2.9.1&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 20:27:02 GMT</pubDate>
    <dc:creator>CassKalinski</dc:creator>
    <dc:date>2022-02-03T20:27:02Z</dc:date>
    <item>
      <title>Registering a table with Geodatabase fails when GDB_GEOMATTR_DATA exists</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/registering-a-table-with-geodatabase-fails-when/m-p/268505#M10331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if this is the correct place to add this "question" or "bug report", but it might help someone else that receives this message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to register a table that is created within my MS SQL server (without arcgis) and the column GDB_GEOMATTR_DATA exists the tool "register with geodatabase" will fail with the error 999999.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/484781_RegisterWithGeodatabaseError.png" /&gt;&lt;/P&gt;&lt;P&gt;With the help of MS SQL Profiler i found out that the column that already exists&amp;nbsp;were&amp;nbsp;GDB_GEOMATTR_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Preferably the geoprocessing tool would not try to add this column if it already exists, or at least inform&amp;nbsp;the user what column that already exists?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2020 12:50:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/registering-a-table-with-geodatabase-fails-when/m-p/268505#M10331</guid>
      <dc:creator>AndreasFrid</dc:creator>
      <dc:date>2020-03-11T12:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Registering a table with Geodatabase fails when GDB_GEOMATTR_DATA exists</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/registering-a-table-with-geodatabase-fails-when/m-p/1140528#M32342</link>
      <description>&lt;P&gt;Additional info for others that may be searching for this like I was.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The RegisterWithGeodatabase tool now throws out '&lt;SPAN&gt;ERROR&amp;nbsp;&lt;/SPAN&gt;160328: Cannot create a table with a duplicate column' if the&amp;nbsp;&lt;SPAN&gt;GDB_GEOMATTR_DATA column exists in the table you are trying to register.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For a python script, I am using&amp;nbsp; 'try...except arcpy.ExecuteError' to trap for this. If ERROR 160328 is presented, it deletes the&amp;nbsp;GDB_GEOMATTR_DATA and reruns&amp;nbsp;RegisterWithGeodatabase(). Registration will recreate that column, so do not be spooked if you see it show up again.&lt;BR /&gt;&lt;BR /&gt;Arcpy 2.9&lt;BR /&gt;MS SQL 14&lt;BR /&gt;Pro v2.9.1&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 20:27:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/registering-a-table-with-geodatabase-fails-when/m-p/1140528#M32342</guid>
      <dc:creator>CassKalinski</dc:creator>
      <dc:date>2022-02-03T20:27:02Z</dc:date>
    </item>
  </channel>
</rss>

