laptop and a wrench

Error

ArcGIS_Buffer_Geoprocessing_CSharp sample should initialize the functionality, not the resource.

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM005030
EnviadoOctober 30, 2006
Última modificaciónJune 5, 2024
Relacionado conNo Product Found
Versión encontrada9.2
Versión corregida9.2
EstadoFixed

Solución alternativa

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

Pasos para reproducir

ID del error: NIM005030

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga