[GIS] Setting ArcGIS Server 10.2 Data Store Folder as Local vs. Network (UNC) path

arcgis-10.2arcgis-serverfile-geodatabase

Is there any difference?

How setting ArcGIS Server Data Store Folder as local vs. network path will affect the publishing process?

I saw warnings in ArcMap 10.1 when I Analyze the MXD before I publish, complaining that network path is used. (Assuming this might slow down the REST service if network access to MXD data is slow)

Example:
My file server has designated shared folder for ArcGIS data called "GisDataStore". It is mapped as local drive on my ArcGIS server, so I can access it both ways:

\MyFileServer\GisDataStore and Z:\GisDataStore

I wonder which I should use to Register the "GisDataStore" folder as ArcGIS 10.2 Server datastore.
Local Path
Network Path

Here's the warning I am getting:

SEVERITY STATUS CODE DESCRIPTION

Medium Unresolved 10027 Layer's data source is referenced via a UNC path

UNC Path Warning

Best Answer

Always go with the UNC path (\\server\folder) when creating a data store for ArcGIS Server. This is both cleaner (since you can see the machine name in the path directly) and safer (if there will be a problem with disk mapping, you can have troubles accessing the path).

From Esri Help:

When you use UNC paths to reference your data, all GIS server machines will look to the correct machine for the data. If you store your GIS resources in shared directories, remember that all data source paths within the resource must also use UNC paths or relative paths. For example, if your map document contains layers from three feature classes, the paths to those feature classes must be UNC or relative paths.

A good help page on paths: Paths explained: Absolute, relative, UNC, and URL

You are getting this warning in ArcMap because when using UNC paths network file access is typically slower than direct disk access on your local computer. This can of course negatively affect the map drawing performance since it is as a rule would take longer time to get data over the network comparing to accessing the dataset locally.

Since storing the data on a local disk in your case is not an option, you can ignore this warning or even right-click it and mark as exception to avoid getting it again.

Related Question