<?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: Python script runs in 10 but not 10.1 - using .odc connection in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282921#M21831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe you will need to go to the explicit path of your odc connection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dbo_cosSewerManholes = "Database Connections\\Han8Live.odc\\dbo.cosSewerManholes"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;example - dbo_cosSewerManholes = "c:\\Users\\"some_name"\\AppData\\Roaming\\ESRI\\Desktop10.1\\ArcCatalog\\Han8Live.odc\\dbo.cosSewerManholes"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would need to investigate the path for your exact system.&amp;nbsp; This is what I needed to change in my python scripts just for sde connections where in 10.0 I was able to use Database Connections at the start of my connection string.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Mar 2013 13:03:59 GMT</pubDate>
    <dc:creator>MichaelVolz</dc:creator>
    <dc:date>2013-03-07T13:03:59Z</dc:date>
    <item>
      <title>Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282920#M21830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I currently have a script that pulls information from a Microsoft SQL Server Table View and exports it to a file geodatabase using an .odc connection. This script will run fine in version 10.0, but will error out using version 10.1. Giving the error message ERROR 000732: ... does not exist or is not supported. The strange thing is that I can build a model in ArcCatalog that will run successfully, then export that model to python, and that script will fail. So basically the geoprocessing tool will run with ArcCatalog open, but not as a python script. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has ESRI changed something with regards to using .odc connections and MS SQL Server Views?? Or does anyone have a workaround? Below is some example code. Again runs fine in 10 but not in 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;# Local variables: dbo_cosSewerManholes = "Database Connections\\Han8Live.odc\\dbo.cosSewerManholes" Infor_gdb = "D:\\Temp\\Infor.gdb"&amp;nbsp; # Process: Table to Table arcpy.TableToTable_conversion(dbo_cosSewerManholes, Infor_gdb, "manholes_view") print "done" &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 12:41:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282920#M21830</guid>
      <dc:creator>NathanHuggins</dc:creator>
      <dc:date>2013-03-07T12:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282921#M21831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe you will need to go to the explicit path of your odc connection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dbo_cosSewerManholes = "Database Connections\\Han8Live.odc\\dbo.cosSewerManholes"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;example - dbo_cosSewerManholes = "c:\\Users\\"some_name"\\AppData\\Roaming\\ESRI\\Desktop10.1\\ArcCatalog\\Han8Live.odc\\dbo.cosSewerManholes"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would need to investigate the path for your exact system.&amp;nbsp; This is what I needed to change in my python scripts just for sde connections where in 10.0 I was able to use Database Connections at the start of my connection string.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 13:03:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282921#M21831</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2013-03-07T13:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282922#M21832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the suggestion. I just ran the script with the specific .odc path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;dbo_cosSewerManholes = "C:\\Users\\nhuggins\\AppData\Roaming\\ESRI\\Desktop10.1\\ArcCatalog\\Han8Live.odc\\dbo.cosSewerManholes"&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Script still fails to run. Exact error message below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; File "C:\Users\nhuggins\Desktop\aa.py", line 20, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; arcpy.TableToTable_conversion(dbo_cosSewerManholes, Infor_gdb, "manholes_view")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\conversion.py", line 1904, in TableToTable&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; raise e&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ExecuteError: Failed to execute. Parameters are not valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 000732: Input Rows: Dataset C:\Users\nhuggins\AppData\Roaming\ESRI\Desktop10.1\ArcCatalog\Han8Live.odc\dbo.cosSewerManholes does not exist or is not supported&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (TableToTable).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 13:34:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282922#M21832</guid>
      <dc:creator>NathanHuggins</dc:creator>
      <dc:date>2013-03-07T13:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282923#M21833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have not tested .odc connections in ArcGIS v10.1, but these connections are not available by default in ArcCatalog like they were in v10.0.&amp;nbsp; You made need to enable an additional toolbox or extension for the .odc connections to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try manually connecting to the same datasource in ArcCatalog?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 14:09:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282923#M21833</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2013-03-07T14:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282924#M21834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I currently have a script that pulls information from a Microsoft SQL Server Table View and exports it to a file geodatabase using an .odc connection. This script will run fine in version 10.0, but will error out using version 10.1.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried running the python script in the foreground? If you installed x64 geoprocessing I believe many ODBC drivers will not work in 64 bit python.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 14:22:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282924#M21834</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2013-03-07T14:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282925#M21835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Curtis:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can you tell if a python script is running in the foreground vs the background?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 14:53:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282925#M21835</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2013-03-07T14:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282926#M21836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Curtis:&lt;BR /&gt;&lt;BR /&gt;How can you tell if a python script is running in the foreground vs the background?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is spelled out in the help, with pictures:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00210000003q000000"&gt;Arc 10.1 Help: Foreground and background processing&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On review, I don't think x64 geoprocessing is probably Nathan's problem; it's probably the new setup with database connections in 10.1, which has changed quite a bit. Hopefully someone with more expertise will chime in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nathan, if you haven't, I suggest you read this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/What_s_new_for_databases/016w00000058000000/"&gt;Arc 10.1 Help: What's new for databases in ArcGIS 10.1 &lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:07:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282926#M21836</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2013-03-07T15:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282927#M21837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Curtis:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What if I am running the python script from a Windows Server 2008 Scheduled Task?&amp;nbsp; I do not believe I have the option of running the script in the background, as by default, the script runs in the foreground.&amp;nbsp; As such, I thought geoprocessing at v10.1 can be run in the 64 bit environment, but if I cannot force the script to run in the background it will still run in the 32 bit environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So even though I have access to a 64 bit environment, I cannot make use of this environment with a scheduled task because it can only run in the foreground.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I correct with this assessment?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:18:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282927#M21837</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2013-03-07T15:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282928#M21838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michael-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you run it in task scheduler, it will open with whatever the file association is, so it is possible that it is opening with the 64 bit version of Python. Just to be safe, it is a good idea to write a batch file that points to the 32 bit version of Python and then runs your script in that version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Luke&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:23:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282928#M21838</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2013-03-07T15:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282929#M21839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Curtis:&lt;BR /&gt;&lt;BR /&gt;What if I am running the python script from a Windows Server 2008 Scheduled Task?&amp;nbsp; I do not believe I have the option of running the script in the background, as by default, the script runs in the foreground.&amp;nbsp; As such, I thought geoprocessing at v10.1 can be run in the 64 bit environment, but if I cannot force the script to run in the background it will still run in the 32 bit environment.&lt;BR /&gt;&lt;BR /&gt;So even though I have access to a 64 bit environment, I cannot make use of this environment with a scheduled task because it can only run in the foreground.&lt;BR /&gt;&lt;BR /&gt;Am I correct with this assessment?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Foreground and background only really makes sense when running in the Desktop application environment, ie ArcCatalog/ArcMap. In that situation, foreground is 32 bit and background is 64 bit (if you've installed the 10.1 Sp 1 patch). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to run 64 bit in a standalone Python script, import arcpy in a 64 bit Python session. You will only have 64 bit python available if you if you have installed ArcGIS Server --or-- the Desktop x64 geoprocessing patch for ArcGIS 10.1 SP 1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:24:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282929#M21839</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2013-03-07T15:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282930#M21840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nathan:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you running this as a standalone script where you explicitly determine which version of python you are running?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, maybe you do not realize that you are running in the 64 bit python environment, so you need to point the script to use 32 bit python where the ODBC connections are supported.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:37:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282930#M21840</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2013-03-07T15:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282931#M21841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Solved, sort of. Thanks for all the suggestions Michael and Curtis. As you suspected it had to do with the 64-bit background geoprocessing. I was able to successfully run the script after uninstalling the 64-bit background processing and running a "repair" of ArcGIS to reestablish the 32-bit python file relationships. As you stated OLEDB connections are not supported in 64-bit processing. That raises another question. Could I have kept the 64-bit background geoprocessing and specified python to run in 32-bit mode?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Michael: ...so you need to point the script to use 32 bit python where the ODBC connections are supported.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Does anyone have a simple example of how specify that a script runs in 32-bit?? Or do you just change the Windows file associations?? My script will be running as a scheduled task that launches a .py file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for the all the help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 18:42:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282931#M21841</guid>
      <dc:creator>NathanHuggins</dc:creator>
      <dc:date>2013-03-07T18:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282932#M21842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nathan:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a portion of a bat file that I call from a scheduled task that calls a python sxcript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@echo off&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;echo Start time: %time% &amp;gt; Address_Research_Data_Update.log&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;echo ------------&amp;nbsp; Update time: %time%&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;echo ------------&amp;nbsp; Geocoding Parcel_Publish with Address_Data&amp;nbsp; -------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;echo ------------&amp;nbsp; Geocoding Parcel_Publish with Address_Data&amp;nbsp; ------------- &amp;gt;&amp;gt; Address_Research_Data_Update.log&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c:\Python27\ArcGISx6410.1\python.exe Geocode_Address_Data.py &amp;gt;&amp;gt; Address_Research_Data_Update.log&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This calls the 64 bit python version&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could change the last line to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c:\Python27\ArcGIS10.1\python.exe Geocode_Address_Data.py &amp;gt;&amp;gt; Address_Research_Data_Update.log&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and I would be using the 32 bit python version which would support the odc connections.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 19:00:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282932#M21842</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2013-03-07T19:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282933#M21843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michael,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the example. I don't have much experience writing bat files, but I do see where you could specify Python to use the 32-bit .exe. Going forward it might be something I will have to look into utilizing more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for all the information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 19:44:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282933#M21843</guid>
      <dc:creator>NathanHuggins</dc:creator>
      <dc:date>2013-03-07T19:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282934#M21844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alternatively you could do something like this, inside your action set the program/script to path of the 32 bit python exe and in the Add arguements set it equal to the path to the python script. You could also then add additional arguements if your python script takes arguements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22457[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 23:03:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282934#M21844</guid>
      <dc:creator>ChrisFox3</dc:creator>
      <dc:date>2013-03-07T23:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282935#M21845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Chris.&amp;nbsp; I did not realize you could use the Program/script parameter to call the python executable file and the Add arguments parameter to call the specific python script.&amp;nbsp; I will see how this setup works for simple scripts where I just need to make a call to a single python script.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 11:43:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282935#M21845</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2013-03-08T11:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282936#M21846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Alternatively you could do something like this, inside your action set the program/script to path of the 32 bit python exe and in the Add arguements set it equal to the path to the python script. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I usually use a .bat file driver with scheduled tasks so I can &lt;/SPAN&gt;&lt;A href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/redirection.mspx?mfr=true" rel="nofollow noopener noreferrer" target="_blank"&gt;capture any error messages from stderr,&lt;/A&gt;&lt;SPAN&gt; in case something goes wrong at the system level, or the Python script writes something to stderr:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
C:\Python27\ArcGIS10.1\python.exe Geocode_Address_Data.py ^
&amp;nbsp; &amp;gt;&amp;gt; Address_Research_Data_Update.log &lt;STRONG style="color: blue;"&gt;2&amp;gt;&amp;amp;1&lt;/STRONG&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:42:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282936#M21846</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-12-11T13:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282937#M21847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Solved, sort of. Thanks for all the suggestions Michael and Curtis. As you suspected it had to do with the 64-bit background geoprocessing. I was able to successfully run the script after uninstalling the 64-bit background processing and running a "repair" of ArcGIS to reestablish the 32-bit python file relationships. As you stated OLEDB connections are not supported in 64-bit processing. That raises another question. Could I have kept the 64-bit background geoprocessing and specified python to run in 32-bit mode?&lt;BR /&gt;&lt;BR /&gt;Does anyone have a simple example of how specify that a script runs in 32-bit?? Or do you just change the Windows file associations?? My script will be running as a scheduled task that launches a .py file.&lt;BR /&gt;&lt;BR /&gt;Thanks again for the all the help!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If OLEDB connections are not support with 64-bit processing what happens when ESRI puts out a 64-bit only version of ArcGIS desktop?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 16:01:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282937#M21847</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2013-03-08T16:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282938#M21848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That is the same question I was thinking about when ESRI does upgrade desktop to 64 bit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone from ESRI have any details on this subject moving forward?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 17:17:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282938#M21848</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2013-03-08T17:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Python script runs in 10 but not 10.1 - using .odc connection</title>
      <link>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282939#M21849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I dont have detailed information on the OLEDB story but I do know we're working to support them in 64bit to some degree (I dont know if thats 100% of what we did in 32bit or just some part of that full support).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Server 10.2 we've made progress and you can use it as a datasource (Server 10.1 you cannot).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm still working on the 64bit Background story.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So: when we move to 64bit (all products), it will hopefully be a none issue (ie, we're working that out right now in the 64bit products we have)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 18:07:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-runs-in-10-but-not-10-1-using-odc/m-p/282939#M21849</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2013-03-08T18:07:00Z</dc:date>
    </item>
  </channel>
</rss>

