00005: Layer type is not supported

A map layer in your ArcMap document is not supported for use in basemap layers or optimized map services.

Solutions

Use one of the types of map layers that are supported for basemap layers or optimized map services.

An alternative approach is to remove the unsupported map layer from your ArcMap document.

More information

Some map layers are quite advanced and are used to display intricate cartography. Maps containing these layer types tend to render more slowly. Many types of ArcMap layers are not supported for basemap layers or optimized map services because they draw slowly.

Supported map layers for basemap layers or optimized map services

Standard feature layers

Raster layers

Raster catalog layers

Annotation layers

Group layers

Parcel fabric layers

Mosaic dataset layers

Some layer types that are not supported for basemap layers or optimized map services

Topology layers

Coverage annotation layers

Network layers

CAD feature layers

CAD annotation layers

Network layers

Terrain layers

ArcIMS layers

You can convert your unsupported map layers to one of the supported map layer types listed above. For example, you could convert a coverage annotation layer to a geodatabase annotation layer.