laptop and a wrench

Bogue

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

Dernière publication: August 19, 2020 ArcGIS for Desktop
Numéro d’ID de bogue NIM064879
EnvoiFebruary 7, 2011
Dernière modificationFebruary 20, 2025
S’applique àArcGIS for Desktop
Version trouvée10.0
Langue du programmeVB.Net
Système d’exploitationWindows OS
Version du système d’exploitation7 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: NIM064879

Logiciel:

  • ArcGIS for Desktop

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement