laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 19, 2020 ArcGIS for Desktop
Bug-ID-Nummer NIM064879
EingereichtFebruary 7, 2011
Zuletzt geändertFebruary 20, 2025
Gilt fürArcGIS for Desktop
Gefunden in Version10.0
ProgrammspracheVB.Net
BetriebssystemWindows OS
Betriebssystemversion7 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

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.

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: NIM064879

Software:

  • ArcGIS for Desktop

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln