Hi
I try to run RebuildAddressLocator from python and I get the same error ‘Error 000005: Could not open the address locator’.
I have tried to create the locator from arcgis pro 2.9.5, I generate the loc and loz files, and I try to rebuild the locator, everything works correctly using arcgis pro; but if I close arcgis pro and open it again I can't rebuild the locator and I get Error 000005: Could not open the address locator
The locator source is a feature layer hosted in an enterprise sqlserver database with no locks, as it is a layer that is not published as a service, and with versioning.
I work under a version arcgis pro 2.9.5 and always logged against portal 10.9.1.
I have installed the license manager on the machine I run from but I haven't changed anything.
The idea would be to go ahead and launch this from python as you do to schedule it weekly but I can't get out of this simple point.
Thank you!
mthompson:
I just converted from an Oracle gdb to a SQL Server gdb at ArcGIS Pro 3.4.x and I am able to rebuild the address locator that I had just created in this environment. Do you have the ability to access a machine with ArcGIS Pro 3.4.x and see if you can build a new locator and then rebuild the locator in that environment as maybe there is a bug with rebuilding SQL Server address locators in ArcGIS Pro 3.5.x?