# Local variables: dbo_cosSewerManholes = "Database Connections\\Han8Live.odc\\dbo.cosSewerManholes" Infor_gdb = "D:\\Temp\\Infor.gdb" # Process: Table to Table arcpy.TableToTable_conversion(dbo_cosSewerManholes, Infor_gdb, "manholes_view") print "done"
Solved! Go to Solution.
Michael: ...so you need to point the script to use 32 bit python where the ODBC connections are supported.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.
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.
C:\Python27\ArcGIS10.1\python.exe Geocode_Address_Data.py ^ >> Address_Research_Data_Update.log 2>&1
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?
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.
Thanks again for the all the help!