When publishing a mosaic dataset, several steps must be taken to ensure that the mosaic dataset publishes properly.
When publishing a mosaic dataset there are several items to consider, such as: • Is the mosaic dataset coming from a file geodatabase or an ArcSDE geodatabase? • Is the raw imagery and mosaic dataset stored on the same machine that ArcGIS Server is installed on? • The Image Extension for ArcGIS Server must also be obtained to publish mosaic datasets as either an Image Service, or Map Service.
The following scenarios describe the steps to publish mosaic datasets when considering these criteria.
Consideration for publishing from an ArcSDE geodatabase
1. Operating system authentication or database authentication can be used when connecting to the database, but if using operating system authentication, an ArcGISSOC user must be created in the database and granted permissions to the database. The account must have the same password as the ArcGISSOC Windows user. 2. If ArcGIS Desktop is not installed on the same machine as ArcGIS Server, the ArcSDE connection file needs to be copied to a shared folder that the ArcGISSOC account can access, or to the machine that has ArcGIS Server installed. 3. The ArcGISSOC account must have permission to the folder that contains the raw imagery.
Consideration for publishing from a file geodatabase
1. If the raw imagery used to create the mosaic dataset is on a different machine than ArcGIS Server, UNC paths must be utilized when loading the data into the mosaic dataset, and a UNC path needs to be used when building overviews. 2. The ArcGISSOC account must have permission to the folder that contains the raw imagery, as well as to the file geodatabase itself.
Publish the mosaic dataset as an Image Service
1. In ArcCatalog, navigate to the folder that contains the mosaic dataset. If this is on a different machine than the one that has ArcGIS Server installed, use a UNC path to connect to the folder, and not a mapped network drive. 2. Right-click the mosaic dataset and select Publish to ArcGIS Server.
Publish from an MXD as a map service
1. In ArcMap, navigate to the mosaic dataset in the Catalog Window, making sure to use UNC path to add the data, and not an absolute path. 2. Save the MXD to a either a shared folder, or to the machine that has ArcGIS installed. 3. Right-click the MXD and select Publish to ArcGIS Server.