<?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: Difficulty running script on server w/ Oracle OLE DB connection; Error 000732 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24118#M1823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We've been doing this for several years by simply keeping it all in procedural code and a&amp;nbsp;linked server instance (you're just managing non-spatial data).&amp;nbsp; Have the assessor setup a view, you create a linked server instance on your db and then you can just access the attributes as needed with a Stored Procedure or other.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Sep 2017 14:16:46 GMT</pubDate>
    <dc:creator>JamesCrandall</dc:creator>
    <dc:date>2017-09-07T14:16:46Z</dc:date>
    <item>
      <title>Difficulty running script on server w/ Oracle OLE DB connection; Error 000732</title>
      <link>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24109#M1814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently wrote a python script to take CAMA data from an Oracle database in the Assessors' office and update a table on our enterprise geodatabase; basically just taking property ownership information from one table and updating it daily in another so we can consume it in our GIS system. &amp;nbsp;At first, I tested on my desktop machine where it ran just fine. &amp;nbsp;However, when I went to test it on our GIS server, that's where the trouble began. &amp;nbsp;It seems to not be able to connect to the Oracle database via the script, as I presented with the 'Error: &amp;nbsp;000732: &amp;lt; dataset name &amp;gt; does not exist or is not supported' error when running any tool that requires a connection as an input (e.g MakeTableView, CopyRows, TableToGeodatabase, etc). &amp;nbsp;Definitely has me stumped because I am able to connect to the database manually via an OLE DB connection in both ArcCatalog and in ArcMap; however, when run in IDLE it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first I though it might be a 32-bit vs 64-bit issue. &amp;nbsp;The desktop machine uses the 32-bit flavor of python in IDLE. &amp;nbsp;Thought perhaps the server was forcing the script to run using the 64-bit, but after running this helpful little bit of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import sys&lt;BR /&gt;print sys.version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it appears as though the server is running 32-bit as well. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know the Oracle database we are connecting to is 11g. &amp;nbsp;However, both the server and desktop machines are using the 12c Release 2 (12.2.0.1.0) 32-bit flavor of the Oracle client&amp;nbsp;because the 11g client does not does support Windows 10. &amp;nbsp; Currently, my desktop machine is running 10.3.1 and the server machine is running 10.4.1, w/ python versions 2.7.8 and 2.7.10, respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing I haven't tested is installing the 64-bit version of the client software on the server side. &amp;nbsp;Even though IDLE tells me it's running on the 32-bit side of things, I have a suspicion that somehow the connection to the database needs a 64-bit component ... &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 12:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24109#M1814</guid>
      <dc:creator>Brownschuh</dc:creator>
      <dc:date>2017-08-21T12:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty running script on server w/ Oracle OLE DB connection; Error 000732</title>
      <link>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24110#M1815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are correct that you need to have the 64 bit client installed for the Server component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also mentioned that the Server was returning 32 bit Python as default. It should be the 64 bit package for Server. Here is an article that may help:&amp;nbsp;&lt;A class="link-titled" href="http://support.esri.com/en/technical-article/000011711" title="http://support.esri.com/en/technical-article/000011711"&gt;FAQ: Why do Python scripts fail on a machine with both ArcGIS for Server and Desktop installed?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 12:59:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24110#M1815</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2017-08-21T12:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty running script on server w/ Oracle OLE DB connection; Error 000732</title>
      <link>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24111#M1816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright I shall obtain the 64-bit client for the server. &amp;nbsp;Do you think it would be wise to uninstall the 32-bit version of the client or could they be run simultaneously? &amp;nbsp;Reason I ask is sometimes I need to manually view the table in Catalog or ArcMap, and that would require the 32-bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I am reluctant to fiddling around with the bit version of python on the server machine ... I currently have about 8 scripts running automatically in Task Scheduler. &amp;nbsp;Some of them run hourly. &amp;nbsp;My point is: &amp;nbsp;they all run just fine. &amp;nbsp;If they break, then I am in even more of a jam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 13:58:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24111#M1816</guid>
      <dc:creator>Brownschuh</dc:creator>
      <dc:date>2017-08-21T13:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty running script on server w/ Oracle OLE DB connection; Error 000732</title>
      <link>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24112#M1817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, just install the 64-bit client for the Server. I would leave the 32 bit client also. You can have both on your machine (I do for ArcMap/Pro).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand the concern with changing Python. Install the client and see if the results are different when running the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 14:01:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24112#M1817</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2017-08-21T14:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty running script on server w/ Oracle OLE DB connection; Error 000732</title>
      <link>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24113#M1818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright so now I have both 32-bit and 64-bit client installed. &amp;nbsp;Tried running it in IDLE using the 32-bit version of Python; same error. &amp;nbsp;Next, I tired running it using the 64-bit version of Python; same results ... ERROR 000732.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will note that I tried this in IDLE (by manually navigating to where python is installed on the 64-bit side), through CMD line (again calling out the 64-bit version), and in Task Scheduler ...&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 17:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24113#M1818</guid>
      <dc:creator>Brownschuh</dc:creator>
      <dc:date>2017-08-21T17:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty running script on server w/ Oracle OLE DB connection; Error 000732</title>
      <link>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24114#M1819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scott:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you saying that there is no version of Oracle 11g that will work on a Windows 10 OS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 18:00:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24114#M1819</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2017-08-21T18:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty running script on server w/ Oracle OLE DB connection; Error 000732</title>
      <link>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24115#M1820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I know, 11g is not supported with Windows 10. &amp;nbsp;Tried installing and was presented with an error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For reference,&amp;nbsp;&lt;A class="link-titled" href="https://social.technet.microsoft.com/Forums/lync/en-US/a3898341-8c0f-45f8-a597-35243ff6648e/oracle-11g-r2-installation-on-windows-10?forum=win10itproapps" title="https://social.technet.microsoft.com/Forums/lync/en-US/a3898341-8c0f-45f8-a597-35243ff6648e/oracle-11g-r2-installation-on-windows-10?forum=win10itproapps"&gt;Oracle 11g R2 installation on windows 10&lt;/A&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;A class="link-titled" href="https://community.oracle.com/thread/3721018?start=0&amp;amp;tstart=0" title="https://community.oracle.com/thread/3721018?start=0&amp;amp;tstart=0"&gt;Error when trying to Install Oracle Client on W... |&amp;nbsp;Oracle Community&lt;/A&gt;. &amp;nbsp; Honeslty, I am not an Oracle guy (nor is anyone at my organization ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But like I said, I've installed the 32-bit client software for 12c and was able to connect in ArcCatalog no problem. &amp;nbsp;The only issue I have is running that script on the server itself ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 18:10:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24115#M1820</guid>
      <dc:creator>Brownschuh</dc:creator>
      <dc:date>2017-08-21T18:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty running script on server w/ Oracle OLE DB connection; Error 000732</title>
      <link>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24116#M1821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you go into more detail on how you setup the OLE DB connection on the desktop as well as the server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 18:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24116#M1821</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2017-08-21T18:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty running script on server w/ Oracle OLE DB connection; Error 000732</title>
      <link>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24117#M1822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, no problem!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I installed the client; just downloaded the zip file from the Oracle website, extracted it and placed it on the C:/ drive. &amp;nbsp;Opened up the extracted folder and ran the .exe file to install the client software. &amp;nbsp;Ran through all of the defaults except where it asked for Installation Type .... chose Administrator (other options included: &amp;nbsp;InstantClient, Runtime, and Custom). &amp;nbsp;Everything installed just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, I opened up ArcCatalog and chose 'Add OLE DB Connection'. &amp;nbsp;Selected the 'Micosoft OLE DB Provider for Oracle' option under the Provider tab. &amp;nbsp;Under the Connection tab I provided the server name, using this format: &amp;nbsp;&amp;lt;servername&amp;gt;/&amp;lt;instance&amp;gt; and plugged in the username/password provided to us. &amp;nbsp;Hit 'Test Connection' and it succeeded. &amp;nbsp;Note we kept the default settings for all of the options under the Advanced and All tabs. &amp;nbsp;After that we hit OK and were to able to connect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this same process on both the server side as well as the desktop side.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 19:29:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24117#M1822</guid>
      <dc:creator>Brownschuh</dc:creator>
      <dc:date>2017-08-21T19:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty running script on server w/ Oracle OLE DB connection; Error 000732</title>
      <link>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24118#M1823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We've been doing this for several years by simply keeping it all in procedural code and a&amp;nbsp;linked server instance (you're just managing non-spatial data).&amp;nbsp; Have the assessor setup a view, you create a linked server instance on your db and then you can just access the attributes as needed with a Stored Procedure or other.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 14:16:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24118#M1823</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2017-09-07T14:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty running script on server w/ Oracle OLE DB connection; Error 000732</title>
      <link>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24119#M1824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After almost 3/4th's of a year, I finally got this figured out.&amp;nbsp; I actually had put this task on the back-burner, as I was able to run my script just fine on a local machine.&amp;nbsp; However, in an effort to get all of our automated tasks running in a server environment, I decided once again to explore the issue I was having.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what I did:&amp;nbsp; made sure both the 32-bit and 64-bit Oracle clients were installed on the server.&amp;nbsp; I had both installed before under a generic account but I actually had to reinstall both because our organization switched some security policies.&amp;nbsp; Next (and I think this was the task that fixed the issue) I made sure that the 'Path' system variable under Environmental Variables was pointed to the following folders:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D:\app\client\&amp;lt;username&amp;gt;\product\12.2.0\client_2\bin&lt;/P&gt;&lt;P&gt;D:\app\client\&amp;lt;username&amp;gt;/product\12.2.0\client_1\bin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously 2 folders for the 32 and 64-bit flavors of the client.&amp;nbsp; Now I am successfully able to open the OLE DB connection on the server in arcmap as well as the nightly python script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 12:30:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/difficulty-running-script-on-server-w-oracle-ole/m-p/24119#M1824</guid>
      <dc:creator>Brownschuh</dc:creator>
      <dc:date>2018-05-18T12:30:02Z</dc:date>
    </item>
  </channel>
</rss>

