laptop and a wrench

Erro

‘IFeatureLayer::FeatureClass property cannot access FeatureClass, If the layer is loaded using GxLayer object in an application which uses desktop windows form template’.

Última Publicação: August 19, 2020 ArcGIS for Desktop
Número de ID do Erro NIM064879
EnviadoFebruary 7, 2011
Última ModificaçãoFebruary 20, 2025
Aplica-se àArcGIS for Desktop
Versão encontrada10.0
Idioma do programaVB.Net
Sistema OperacionalWindows OS
Versão do Sistema Operacional7 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

We apologize that we were unable to address this issue within the current product support cycle.  If the issue continues to affect your work in a supported release, please contact Technical Support.

Solução Provisória

The workaround is to add the license control to the Windows form or, alternatively, add these two lines of code at the beginning of the Form_Load procedure: --------Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try ‘ THESE NEXT TWO LINES workaround the issue Dim myctl As ESRI.ArcGIS.Controls.LicenseControl myctl = New ESRI.ArcGIS.Controls.LicenseControl Dim lGxLayer As IGxLayer lGxLayer = New GxLayer----------------------------------------------This workaround is not useful for the customer as the ne user will not have Engine installed.

Etapas para Reproduzir

ID do Erro: NIM064879

Software:

  • ArcGIS for Desktop

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