<?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 Error while trying to Register With Geodatabase in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-while-trying-to-register-with-geodatabase/m-p/1547011#M12159</link>
    <description>&lt;P&gt;I just updated from ArcPro 3.0.0 to 3.2.0 now the addin I created throws an error when trying to register a new table as a geodatabase.&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ERROR 999999: Something unexpected caused the tool to fail.&lt;BR /&gt;Contact Esri Technical Support (&lt;A href="http://esriurl.com/support" target="_blank"&gt;http://esriurl.com/support&lt;/A&gt;) to Report a Bug,&lt;BR /&gt;and refer to the error help for potential solutions or workarounds.&lt;BR /&gt;This DB instance's release does not support this operation. [This DB instance's release does not support this operation.]&lt;BR /&gt;Failed to execute (RegisterWithGeodatabase). Failed at Wednesday, October 9, 2024 08:42:23 (Elapsed Time: 6.37 seconds)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;From my code if a table is not registered as a geodatabase, I open it as a standalone table&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using (Geodatabase geodatabase = new Geodatabase(connectionProperties))
                    using (Table worktable = geodatabase.OpenDataset&amp;lt;Table&amp;gt;(queryTableName))
                    {
                        var tableParams = new StandaloneTableCreationParams(worktable)
                        {
                            Name = queryTableName,
                        };

                        // creates the standalone table.
                        StandaloneTableFactory.Instance.CreateStandaloneTable(tableParams, MapView.Active.Map);
                    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then run this block of code to register it.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var uri = standaloneTable.URI;

            List&amp;lt;object&amp;gt; arguments = new List&amp;lt;object&amp;gt;
            {
                // URI of the standalone table to be projected on the map
                standaloneTable.URI,

                // OBJECTID Value column
                "UNIQ_ID",
            };

            // Takes the standalonetable URI and makes and registers with the geodatabase
            var results = await Geoprocessing.ExecuteToolAsync($"RegisterWithGeodatabase_management", Geoprocessing.MakeValueArray(arguments.ToArray()));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Running ArcGis Pro 3.2.0&lt;/P&gt;&lt;P&gt;Oracle.ManagedDataAccess.Core 3.21.110&lt;/P&gt;</description>
    <pubDate>Wed, 09 Oct 2024 14:31:59 GMT</pubDate>
    <dc:creator>TrentSchweitzer</dc:creator>
    <dc:date>2024-10-09T14:31:59Z</dc:date>
    <item>
      <title>Error while trying to Register With Geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-while-trying-to-register-with-geodatabase/m-p/1547011#M12159</link>
      <description>&lt;P&gt;I just updated from ArcPro 3.0.0 to 3.2.0 now the addin I created throws an error when trying to register a new table as a geodatabase.&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ERROR 999999: Something unexpected caused the tool to fail.&lt;BR /&gt;Contact Esri Technical Support (&lt;A href="http://esriurl.com/support" target="_blank"&gt;http://esriurl.com/support&lt;/A&gt;) to Report a Bug,&lt;BR /&gt;and refer to the error help for potential solutions or workarounds.&lt;BR /&gt;This DB instance's release does not support this operation. [This DB instance's release does not support this operation.]&lt;BR /&gt;Failed to execute (RegisterWithGeodatabase). Failed at Wednesday, October 9, 2024 08:42:23 (Elapsed Time: 6.37 seconds)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;From my code if a table is not registered as a geodatabase, I open it as a standalone table&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using (Geodatabase geodatabase = new Geodatabase(connectionProperties))
                    using (Table worktable = geodatabase.OpenDataset&amp;lt;Table&amp;gt;(queryTableName))
                    {
                        var tableParams = new StandaloneTableCreationParams(worktable)
                        {
                            Name = queryTableName,
                        };

                        // creates the standalone table.
                        StandaloneTableFactory.Instance.CreateStandaloneTable(tableParams, MapView.Active.Map);
                    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then run this block of code to register it.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var uri = standaloneTable.URI;

            List&amp;lt;object&amp;gt; arguments = new List&amp;lt;object&amp;gt;
            {
                // URI of the standalone table to be projected on the map
                standaloneTable.URI,

                // OBJECTID Value column
                "UNIQ_ID",
            };

            // Takes the standalonetable URI and makes and registers with the geodatabase
            var results = await Geoprocessing.ExecuteToolAsync($"RegisterWithGeodatabase_management", Geoprocessing.MakeValueArray(arguments.ToArray()));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Running ArcGis Pro 3.2.0&lt;/P&gt;&lt;P&gt;Oracle.ManagedDataAccess.Core 3.21.110&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 14:31:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-while-trying-to-register-with-geodatabase/m-p/1547011#M12159</guid>
      <dc:creator>TrentSchweitzer</dc:creator>
      <dc:date>2024-10-09T14:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to Register With Geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-while-trying-to-register-with-geodatabase/m-p/1547615#M12165</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Referring to your&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/createstandalonetable-does-not-assign-an-object-id/m-p/1361046#M10871" target="_blank" rel="noopener"&gt;other thread&lt;/A&gt;, was the &lt;EM&gt;Geoprocessing.ExecuteToolAsync&lt;/EM&gt; working for the Pro SDK 3.0 to register the tables?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 15:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-while-trying-to-register-with-geodatabase/m-p/1547615#M12165</guid>
      <dc:creator>Aashis</dc:creator>
      <dc:date>2024-10-10T15:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to Register With Geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-while-trying-to-register-with-geodatabase/m-p/1547956#M12166</link>
      <description>&lt;P&gt;Yes I had been able to register new tables using&amp;nbsp;&lt;EM&gt;Geoprocessing.ExecuteToolAsync the&amp;nbsp; in version&amp;nbsp; 3.0.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 12:42:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-while-trying-to-register-with-geodatabase/m-p/1547956#M12166</guid>
      <dc:creator>TrentSchweitzer</dc:creator>
      <dc:date>2024-10-11T12:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to Register With Geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-while-trying-to-register-with-geodatabase/m-p/1548162#M12167</link>
      <description>&lt;P&gt;It could be due to incompatible field types. Have you looked into the &lt;A href="https://support.esri.com/en-us/knowledge-base/ensure-backward-client-compatibility-when-registering-a-000032250" target="_self"&gt;tech support document&lt;/A&gt; for compatibility issues with Date or Oracle Number (38) datatype?&amp;nbsp; Try setting the registry key as described in the document and run the add-in; if the issue persists, please log a bug through the support team.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aashis_0-1728673937651.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117126i2FA07556BE347585/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aashis_0-1728673937651.png" alt="Aashis_0-1728673937651.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 19:15:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-while-trying-to-register-with-geodatabase/m-p/1548162#M12167</guid>
      <dc:creator>Aashis</dc:creator>
      <dc:date>2024-10-11T19:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to Register With Geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-while-trying-to-register-with-geodatabase/m-p/1552890#M12237</link>
      <description>&lt;P&gt;My worktables are using Date and Oracle Number (38) columns, so this at least sounds like the problem. I had been using Number(38) due to ArcMap Originally requiring that data type so I am assuming&amp;nbsp; now 'Long' is the preferred data type?&lt;/P&gt;&lt;P&gt;I was able to go though and add the registry key/value, this unfortunately did not resolve the issue.&lt;BR /&gt;I am currently running 3.2.0 though so is it possibly that I would need to update to 3.2.4 to try and resolve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 17:11:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/error-while-trying-to-register-with-geodatabase/m-p/1552890#M12237</guid>
      <dc:creator>TrentSchweitzer</dc:creator>
      <dc:date>2024-10-28T17:11:45Z</dc:date>
    </item>
  </channel>
</rss>

