laptop and a wrench

Error

If the final output of a geoprocessing service is a feature layer and the 'View results with a Map Service' option is enabled, the output of the task is the original input dataset.

Última publicación: April 7, 2016 ArcGIS for Server
Número de ID del error BUG-000095436
EnviadoMarch 31, 2016
Última modificaciónJune 5, 2024
Relacionado conArcGIS for Server
Versión encontrada10.2.2
Sistema operativoWindows OS
Versión de sistema operativo2008 R2 64 Bit
EstadoKnown Limit

Información adicional

This is due to the fact that a feature layer cannot be published as a map service. If one were to run a geoprocessing tool in ArcMap whose output is a feature layer, add the result to the map, remove the input dataset from the map and then attempt to publish, there will be an error prior to publishing that states "a selection layer cannot be published." When this same workflow is performed within a geoprocessing service and the result is viewed as a map service it succeeds, but due to the fact that feature layers cannot become map services, the original input dataset is displayed as the output viewed as a map service. This is a workflow limitation.

Solución alternativa

- Set the output of the model/script to be a feature class instead of a feature layer. Or - Disable the 'View results with a Map Service' option.

Pasos para reproducir

ID del error: BUG-000095436

Software:

  • ArcGIS for Server

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