laptop and a wrench

Bug

ArcGIS_Buffer_Geoprocessing_CSharp sample should initialize the functionality, not the resource.

Zuletzt veröffentlicht: August 25, 2014 No Product Found
Bug-ID-Nummer NIM005030
EingereichtOctober 30, 2006
Zuletzt geändertJune 5, 2024
Gilt fürNo Product Found
Gefunden in Version9.2
Behoben in Version9.2
StatusFixed

Workaround

If the geoprocessing functionality is not initialized, the application will return an error "object reference not set to an instance of an object". In the Default.aspx.cs, the beginning of the CalculateBufferServer method should be as follows: IGeoprocessingResource igp = GeoprocessingResourceManager1.GetResource(0); ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.GeoprocessingFunctionality agp = (ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.GeoprocessingFunctionality) igp.CreateFunctionality(typeof(ESRI.ArcGIS.ADF.Web.DataSources.IGeoprocessingFunctionality), null); agp.Initialize();

Schritte zur Reproduzierung

Bug-ID: NIM005030

Software:

  • No Product Found

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