00037: Basemap layers cannot be published directly to an optimized map service
Your data frame contains a basemap layer. Basemap layers contain layers or map services meant to be used as a background or reference point for other layers in your map. Generally, these layers should be published as separate map services and mashed up with your operational layers in a Web map.
Solutions
-
If you know that you don't want to publish your basemap layer as a separate service, you can choose to use the basemap layer as a group layer in your optimized map service. Note:
Some layer types, such as map services, cannot be published as a layer in an optimized map service.
- Alternatively, you can remove the basemap layer from the map so that you can publish just your operational layers. You can then mash up your operational layer service with your basemap map service, publish them separately, or publish them with existing ArcGIS online map service layers.
More information
For more information on basemap layers in ArcGIS, see Working with basemap layers. For information on planning deployment of map services, see Map service planning.
8/20/2010