<?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: automate sde database license: python arcpy's EnableEnterpriseGeodatabase_management returns 000837 error i.e., &amp;quot;...not correct workspace type&amp;quot; no matter how I spedify.  Does this command really work? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/automate-sde-database-license-python-arcpy-s/m-p/745250#M28277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To add to George's comment, here is the workflow to authorize 10.3 SDE where the SDE Command line tools are no longer used...&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.esri.com/esri/supportcenter/2015/02/18/generate-a-keycodes-file-toauthorize-an-enterprise-geodatabase-without-having-to-install-arcgis-server/" title="http://blogs.esri.com/esri/supportcenter/2015/02/18/generate-a-keycodes-file-toauthorize-an-enterprise-geodatabase-without-having-to-install-arcgis-server/"&gt;Options for Authorizing an Enterprise Geodatabase | Support Services Blog&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Mar 2015 14:09:12 GMT</pubDate>
    <dc:creator>TinaMorgan1</dc:creator>
    <dc:date>2015-03-05T14:09:12Z</dc:date>
    <item>
      <title>automate sde database license: python arcpy's EnableEnterpriseGeodatabase_management returns 000837 error i.e., "...not correct workspace type" no matter how I spedify.  Does this command really work?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/automate-sde-database-license-python-arcpy-s/m-p/745246#M28273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I manage a number of SDE databases and would like to update the yearly re-licensing with a python script.&amp;nbsp; The script model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="c"&gt;&lt;/SPAN&gt;&lt;SPAN class="kn"&gt;import&lt;/SPAN&gt; &lt;SPAN class="nn"&gt;arcpy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;&lt;SPAN class="n"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;EnableEnterpriseGeodatabase&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s"&gt;"C:\myconnections\database1.sde"&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="s"&gt;"C:&lt;/SPAN&gt;&lt;SPAN class="se"&gt;\a&lt;/SPAN&gt;&lt;SPAN class="s"&gt;uthfiles\keycodes"&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;&lt;SPAN class="p"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt; when the correct path + file references are substituted, always returns the error: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ERROR 000837: The workspace is not the correct workspace type.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Failed to execute (EnableEnterpriseGeodatabase).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried the various arcpy.ClearWorkspaceCache_management() and arcpy.env commands as suggested by other posts, but no go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankee, -Howard Foster&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 00:53:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/automate-sde-database-license-python-arcpy-s/m-p/745246#M28273</guid>
      <dc:creator>howardfoster</dc:creator>
      <dc:date>2015-03-05T00:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: automate sde database license: python arcpy's EnableEnterpriseGeodatabase_management returns 000837 error i.e., "...not correct workspace type" no matter how I spedify.  Does this command really work?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/automate-sde-database-license-python-arcpy-s/m-p/745247#M28274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure your connection is to SDE user.&lt;/P&gt;&lt;P&gt;This is the user that can update metadata tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Habe Fun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 06:12:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/automate-sde-database-license-python-arcpy-s/m-p/745247#M28274</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2015-03-05T06:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: automate sde database license: python arcpy's EnableEnterpriseGeodatabase_management returns 000837 error i.e., "...not correct workspace type" no matter how I spedify.  Does this command really work?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/automate-sde-database-license-python-arcpy-s/m-p/745248#M28275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN class="kn" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Could you please try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN class="kn" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN class="kn" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;import&lt;/SPAN&gt; &lt;SPAN class="nn" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;arcpy&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="n" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="o" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;EnableEnterpriseGeodatabase&lt;/SPAN&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;(r&lt;/SPAN&gt;&lt;SPAN class="s" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;"C:\myconnections\database1.sde"&lt;/SPAN&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;,&lt;/SPAN&gt; r&lt;SPAN class="s" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;"C:&lt;/SPAN&gt;&lt;SPAN class="se" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;\a&lt;/SPAN&gt;&lt;SPAN class="s" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;uthfiles\keycodes"&lt;/SPAN&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;A href="http://blogs.esri.com/esri/supportcenter/2015/02/18/generate-a-keycodes-file-toauthorize-an-enterprise-geodatabase-without-having-to-install-arcgis-server/" title="http://blogs.esri.com/esri/supportcenter/2015/02/18/generate-a-keycodes-file-toauthorize-an-enterprise-geodatabase-without-having-to-install-arcgis-server/"&gt;Options for Authorizing an Enterprise Geodatabase | Support Services Blog&lt;/A&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;hope this is helpful&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 12:15:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/automate-sde-database-license-python-arcpy-s/m-p/745248#M28275</guid>
      <dc:creator>KishorGhatage</dc:creator>
      <dc:date>2015-03-05T12:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: automate sde database license: python arcpy's EnableEnterpriseGeodatabase_management returns 000837 error i.e., "...not correct workspace type" no matter how I spedify.  Does this command really work?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/automate-sde-database-license-python-arcpy-s/m-p/745249#M28276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Howard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I read in your original post, you want to update the licenses in your enterprise geodatabases?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, the Enable tool will not do this. This tool is designed to add the SDE repository tables to an existing database (SQL Server, Oracle, PostgreSQL, etc...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//001700000160000000"&gt;Enable Enterprise Geodatabase GP Tool&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;"&lt;SPAN style="color: #4d4d4d; font-family: Arial, Helvetica, sans-serif; font-size: 12.8000001907349px;"&gt;The &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.8000001907349px; color: #4d4d4d; font-family: Arial, Helvetica, sans-serif;"&gt;Enable Enterprise Geodatabase&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; font-family: Arial, Helvetica, sans-serif; font-size: 12.8000001907349px;"&gt; tool creates geodatabase system tables, stored procedures, functions, and types in an existing enterprise database, thereby enabling geodatabase functionality in the database."&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;&lt;P&gt;Here is a Blog that talks about &lt;A href="http://blogs.esri.com/esri/supportcenter/2013/06/04/updating-the-license-for-enterprise-geodatabases-at-10-1/"&gt;updating the enterprise database license&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a nut shell, you must use SDE command line to update the license before it expires.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this is not what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-George&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/group/1680"&gt;Geodatabase&lt;/A&gt;​ &lt;A href="https://community.esri.com/space/2050"&gt;Managing Data&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 13:42:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/automate-sde-database-license-python-arcpy-s/m-p/745249#M28276</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2015-03-05T13:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: automate sde database license: python arcpy's EnableEnterpriseGeodatabase_management returns 000837 error i.e., "...not correct workspace type" no matter how I spedify.  Does this command really work?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/automate-sde-database-license-python-arcpy-s/m-p/745250#M28277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To add to George's comment, here is the workflow to authorize 10.3 SDE where the SDE Command line tools are no longer used...&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.esri.com/esri/supportcenter/2015/02/18/generate-a-keycodes-file-toauthorize-an-enterprise-geodatabase-without-having-to-install-arcgis-server/" title="http://blogs.esri.com/esri/supportcenter/2015/02/18/generate-a-keycodes-file-toauthorize-an-enterprise-geodatabase-without-having-to-install-arcgis-server/"&gt;Options for Authorizing an Enterprise Geodatabase | Support Services Blog&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 14:09:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/automate-sde-database-license-python-arcpy-s/m-p/745250#M28277</guid>
      <dc:creator>TinaMorgan1</dc:creator>
      <dc:date>2015-03-05T14:09:12Z</dc:date>
    </item>
  </channel>
</rss>

