I have a scheduled task running in python 2.6 on a Windows 2008 R2 server (ArcGIS Desktop v10.0 sp4 installed) that rebuilds address locators when call ed from a bat file.
I am trying to migrate this script to python 2.7 on a Windows 2008 R2 server (ArcGIS Desktop v10.1 sp1 installed) where background 64 bit geoprocessing has been enabled.
I have successfully used the arcpy.RebuildAddressLocator in IDLE and manually in ArcToolbox, but when I run it as a scheduled task from a bat file I get ERROR 000005: Could not open the address locator (I get this same error when I run the python script from the command line). When I try to open the properties of the Address Locator in ArcCatalog after running the bat file, I only get a portion of the Address Locator GUI as it appears that the Address Locator has become corrupted. This has happened every time I have tried this operation (at least 8 times).
Has anyone had issues rebuilding an Address Locator with python2.7 through a scheduled task or from the command line?
Any help or hints to solve this problem are greatly appreciated. Thank you.