Skip to main content
1 of 3
Smalis
  • 776
  • 8
  • 26

Map To KML does not work with mxds that contain service layer

I am trying to use the map to kml conversion tool in a python script. The mxd I provide as input, contains data coming from map service layers. I have no security enabled to that particular layers. I also try to run the specific tool in ArcMap providing mxds that contain layers coming from a map service but I get the same error:

Unable to open MXD - The document contains secure (password-protected) layers.

If I run the same tool with an mxd that contains data coming from a local geodatabase, but not from a published service, it works properly ?

Can anybody tell me why the map to kml tool does not work with map service layers?

Smalis
  • 776
  • 8
  • 26