laptop and a wrench

Bogue

ArcGIS_Buffer_Geoprocessing_CSharp sample should initialize the functionality, not the resource.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM005030
EnvoiOctober 30, 2006
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.2
Version de correction9.2
StatutFixed

Solution de contournement

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();

Étapes pour reproduire

ID de bogue: NIM005030

Logiciel:

  • No Product Found

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