| Numéro d’ID de bogue |
BUG-000095436 |
| Envoi | March 31, 2016 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS for Server |
| Version trouvée | 10.2.2 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 2008 R2 64 Bit |
| Statut | Known Limit
Après examen par l’équipe de développement, il a été déterminé que ce problème est lié à une limitation connue du logiciel sur laquelle Esri n’a aucun contrôle. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
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.
Solution de contournement
- 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.
Étapes pour reproduire
ID de bogue: BUG-000095436
Logiciel: