<?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 ArcPy CreateDatabaseSequence Error in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcpy-createdatabasesequence-error/m-p/859501#M4682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running the "Create Database Sequence" tool from the Geoprocessing panel works fine. After successfully creating a sequence on the panel, I then delete it using the "Delete Database Sequence" tool on the Geoprocessing panel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, from the "History" tab on the Catalog panel, I choose "Send to Python Window" from the right-click context menu of the "Create Database Sequence" history item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;After executing the code sent to the Python window I get the following info/error message:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.management.CreateDatabaseSequence(r"C:\Users\gormanch\Documents\Projects\MigrationFromMAP\EGISED6.GISADM.sde", "MY_TEST_SEQ", 20000000, None)&lt;BR /&gt;&lt;STRONG&gt;Traceback (most recent call last):&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\management.py", line 5088, in CreateDatabaseSequence&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; raise e&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\management.py", line 5085, in CreateDatabaseSequence&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; retval = convertArcObjectToPythonObject(gp.CreateDatabaseSequence_management(*gp_fixargs((in_workspace, seq_name, seq_start_id, seq_inc_value), True)))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\geoprocessing\_base.py", line 496, in &amp;lt;lambda&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; return lambda *args: val(*gp_fixargs(args, True))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;arcgisscripting.ExecuteError: ERROR 999999: Something unexpected caused the tool to fail. Please refer to the error help for potential solutions, or contact Esri Technical Support &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fesriurl.com%2Fsupport" rel="nofollow" target="_blank"&gt;http://esriurl.com/support&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Underlying DBMS error&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Failed to execute (CreateDatabaseSequence).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Create Database Sequence error from ArcPy" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/421373_DatabaseSequenceError.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2018 15:15:35 GMT</pubDate>
    <dc:creator>CharlieGorman</dc:creator>
    <dc:date>2018-09-06T15:15:35Z</dc:date>
    <item>
      <title>ArcPy CreateDatabaseSequence Error</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcpy-createdatabasesequence-error/m-p/859501#M4682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running the "Create Database Sequence" tool from the Geoprocessing panel works fine. After successfully creating a sequence on the panel, I then delete it using the "Delete Database Sequence" tool on the Geoprocessing panel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, from the "History" tab on the Catalog panel, I choose "Send to Python Window" from the right-click context menu of the "Create Database Sequence" history item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;After executing the code sent to the Python window I get the following info/error message:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.management.CreateDatabaseSequence(r"C:\Users\gormanch\Documents\Projects\MigrationFromMAP\EGISED6.GISADM.sde", "MY_TEST_SEQ", 20000000, None)&lt;BR /&gt;&lt;STRONG&gt;Traceback (most recent call last):&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\management.py", line 5088, in CreateDatabaseSequence&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; raise e&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\management.py", line 5085, in CreateDatabaseSequence&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; retval = convertArcObjectToPythonObject(gp.CreateDatabaseSequence_management(*gp_fixargs((in_workspace, seq_name, seq_start_id, seq_inc_value), True)))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\geoprocessing\_base.py", line 496, in &amp;lt;lambda&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; return lambda *args: val(*gp_fixargs(args, True))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;arcgisscripting.ExecuteError: ERROR 999999: Something unexpected caused the tool to fail. Please refer to the error help for potential solutions, or contact Esri Technical Support &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fesriurl.com%2Fsupport" rel="nofollow" target="_blank"&gt;http://esriurl.com/support&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Underlying DBMS error&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Failed to execute (CreateDatabaseSequence).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Create Database Sequence error from ArcPy" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/421373_DatabaseSequenceError.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 15:15:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcpy-createdatabasesequence-error/m-p/859501#M4682</guid>
      <dc:creator>CharlieGorman</dc:creator>
      <dc:date>2018-09-06T15:15:35Z</dc:date>
    </item>
  </channel>
</rss>

