You are using the Stage Service tool to convert a map image layer service definition draft file (.sddraft) to a service definition file (.sd). The .sddraft file was created for a map containing data from a cloud data warehouse and specified for publishing to a federated server that is not a hosting server. The file was also modified to create a snapshot of the data. However, the .sd file cannot be staged because only hosting servers support creating snapshots.
Note:
You may encounter this analyzer error when publishing using ArcPy or running the tool in the Geoprocessing pane; it does not appear when using the Share As Web Layer pane.
Solutions
Do one of the following:
- Modify the .sddraft file to create a materialized view or access data directly for each query layer.
- When creating the MapImageSharingDraft object, use the federatedServerUrl property to specify the hosting server URL instead.
Additional information
For more information, see Configure a map image layer.