<?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: Error: 9999 for Create Database Connection on an ArcGIS Notebook Server in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/error-9999-for-create-database-connection-on-an/m-p/1169401#M525</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/216475"&gt;@RVx_GaslineGiS&lt;/a&gt;&amp;nbsp;The Notebook runtime image does not include Oracle client libraries. The documentation here has steps on how you can build a custom runtime image that includes oracle client libs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/notebook/latest/install/linux/extend-a-notebook-runtime.htm#ESRI_SECTION1_027D1A1826A242B3BEB7F9A0166DEEEF" target="_blank"&gt;https://enterprise.arcgis.com/en/notebook/latest/install/linux/extend-a-notebook-runtime.htm#ESRI_SECTION1_027D1A1826A242B3BEB7F9A0166DEEEF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are two examples of Dockerfile listed in the doc above. The second example talks about adding Oracle Client libs.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2022 16:55:13 GMT</pubDate>
    <dc:creator>RaviNarayanan</dc:creator>
    <dc:date>2022-04-29T16:55:13Z</dc:date>
    <item>
      <title>Error: 9999 for Create Database Connection on an ArcGIS Notebook Server</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/error-9999-for-create-database-connection-on-an/m-p/1169309#M522</link>
      <description>&lt;P&gt;I have a notebook that was created and tested on ArcGIS Pro. On pro, it works without issues. I've been trying to transition that notebook to work on a Notebook server and keep running into issues.&lt;/P&gt;&lt;P&gt;The current problem is&amp;nbsp; an Error: 999999 when trying to use a Create Database Connection code segment (as below).&amp;nbsp; I've confirmed that the notebook server does have read/write permissions to the target location.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# set environment settings
arcpy.env.overwriteOutput=True
# Set feature class workspace
ws = r"/arcgis/directories/pgisfile01/Compliance/MandatedModel_TestEnvironment"
# Set gdb workspace
ws_gdb = os.path.join (ws, "CI.gdb")
print(ws_gdb)
# Set layer variables
ci_masterpoints = os.path.join(ws_gdb, "Points_Prod")
# Set maximo SDE connection 
sde_mx = arcpy.CreateDatabaseConnection_management(ws, 'tempmx.sde', 'ORACLE', 'dblocation','DATABASE_AUTH','username','password','SAVE_USERNAME')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Does anyone have any ideas on what else to test or diagnose to figure out why I get that general error? The same code works without issue on ArcGIS Pro with the only difference being a slightly different ws variable (the Notebook server is on a LINUX machine so needs to read/write using a different path name but it points to the same location as the Pro notebook did).&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 14:06:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/error-9999-for-create-database-connection-on-an/m-p/1169309#M522</guid>
      <dc:creator>RVx_GaslineGiS</dc:creator>
      <dc:date>2022-04-29T14:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error: 9999 for Create Database Connection on an ArcGIS Notebook Server</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/error-9999-for-create-database-connection-on-an/m-p/1169401#M525</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/216475"&gt;@RVx_GaslineGiS&lt;/a&gt;&amp;nbsp;The Notebook runtime image does not include Oracle client libraries. The documentation here has steps on how you can build a custom runtime image that includes oracle client libs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/notebook/latest/install/linux/extend-a-notebook-runtime.htm#ESRI_SECTION1_027D1A1826A242B3BEB7F9A0166DEEEF" target="_blank"&gt;https://enterprise.arcgis.com/en/notebook/latest/install/linux/extend-a-notebook-runtime.htm#ESRI_SECTION1_027D1A1826A242B3BEB7F9A0166DEEEF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are two examples of Dockerfile listed in the doc above. The second example talks about adding Oracle Client libs.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 16:55:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/error-9999-for-create-database-connection-on-an/m-p/1169401#M525</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2022-04-29T16:55:13Z</dc:date>
    </item>
  </channel>
</rss>

