laptop and a wrench

Bug

Can't geocode addresses on a feature after its address range attributes have been edited.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM002438
SubmittedMay 9, 2006
Last ModifiedApril 2, 2025
Applies toNo Product Found
Version found9.1
StatusWill Not Be Addressed

Additional Information

No Public Explanation

Workaround

Workarounds:1. Close and reopen ArcMap.2. Use a local locator instead of an SDE locator.3. Use the code belwo to force the server to use a new instance of a locator object. The new instance will work with the correct state ID.------Option Base 0Private Function GetLocatorExtension() As ILocatorExtension Dim pApplication As IApplication Dim pUID As New esriSystem.UID Set pApplication = ThisDocument.Parent pUID.Value = "esriLocationUI.LocatorExtension" Set GetLocatorExtension = pApplication.FindExtensionByCLSID(pUID)End FunctionPrivate Sub ForceLocatorRefresh(loc As ILocator) Dim locImpl As ILocatorImpl Set locImpl = loc Dim locPS As IPropertySet Set locPS = locImpl.Properties ' now a hack to prevent server side code from reusing the cached locator locPS.SetProperty "RD.ForceNewLocInst", CStr(Now) locImpl.Properties = locPSEnd SubPublic Sub RefreshSDELocators() Dim locExtension As ILocatorExtension Set locExtension = GetLocatorExtension Dim locInd As Long Dim address As IPropertySet Set address = New PropertySet For locInd = 0 To locExtension.LocatorCount("Address") - 1 Dim loc As ILocator Set loc = locExtension.Locator("Address", locInd) locExtension.RemoveLocator "Address", locInd ForceLocatorRefresh loc locExtension.AddLocator loc Next locIndEnd Sub===========================================================

Steps to Reproduce

Bug ID: NIM002438

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options