laptop and a wrench

Erro

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

Última Publicação: August 25, 2014 No Product Found
Número de ID do Erro NIM002438
EnviadoMay 9, 2006
Última ModificaçãoApril 2, 2025
Aplica-se àNo Product Found
Versão encontrada9.1
StatusWill Not Be Addressed

Informações Adicionais

No Public Explanation

Solução Provisória

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===========================================================

Etapas para Reproduzir

ID do Erro: NIM002438

Software:

  • No Product Found

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download