The data frame does not contain a required layer type for the service capability you are publishing.
For example, WCS-capable services require that either a mosaic layer or a raster layer be present in the data frame being published. If you attempt to publish a data frame that does not contain either one, you will get this error when you analyze. The description will state Data frame does not contain a required layer type for a WCS service, where <value> is the service type of service capability.
Solutions
- Add the required layer type to your map. See the table below for the required layer types per service capability.
- Alternatively, you can turn off the specified capability before publishing.
More information
A layer represents geographic data in a map, such as a particular theme of data. Examples of map layers include streams and lakes, terrain, roads, political boundaries, parcels, building footprints, utility lines, and orthophoto imagery. There are different kinds of layers. Some layers represent a particular type of geographic feature, while others represent a particular type of data. Each layer type has different mechanisms for displaying and symbolizing its contents and specific operations that you perform against them.
Service capability | Required layer type |
---|---|
Feature Services This includes
| Feature layer A layer that references a set of feature (vector) data that represents geographic entities as points, lines, and polygons. Feature services that are not hosted services require that all layers and stand-alone tables in the service reference an enterprise geodatabase or database using a single connection. If the feature layer's data source is something other than an enterprise geodatabase or supported database, such as a file geodatabase or shapefile, you can only publish a feature service using this data if you have registered a server-managed geodatabase with ArcGIS Server. In this case, the data your feature layers currently reference will be copied to the managed database when you publish. The layers in the feature service will reference data from this managed database and not from the original data source. Learn more about authoring feature services. |
Map Service with WCS capability | Mosaic layer or a raster dataset The source of the raster data can be a raster dataset (from a geodatabase or file on disk), a mosaic dataset, or a layer file referencing a raster dataset or mosaic dataset. Learn more about WCS services. |
Map Service with Schematics capability | Schematics layer A schematic layer is a composite layer composed of feature layers based on the schematic feature classes associated with a schematic diagram template. Each schematic layer can reference one of the following:
Learn more about authoring schematic layers Schematics services require that, at a minimum, the data frame you are publishing contains the reference source schematic datasets to use in your service. Learn more about constraints and workarounds to publish Schematics data |
Map Service with network analysis capability | Network analysis layer A network analysis layer stores the inputs, properties, and results of a network analysis. It contains an in-memory workspace with network analysis classes for each type of input as well as for the results. The features and records inside the network analysis classes are referred to as network analysis objects. Learn more about network analysis layers Network analysis services require that, at a minimum, the data frame you are publishing contains the network analysis layer to use in your service. |