Error when publishing a network dataset from a file server

3269
2
01-19-2016 05:53 AM
Highlighted
Occasional Contributor

Has anyone come across, or have any ideas about this error when publishing:

NAServer requires at least one network analysis layer to be in the map.

This is the scenario:

Two ArcGIS for Server machines in a site.

All data hosted on a remote machine within the same network. The data is in a file geodatabase, is shared with the domain account running the ArcGIS for Server machines and has read permissions. The data is referenced via UNC paths and can be viewed in ArcMap fine.

*When publishing the network service, the server logs state:

NAServer requires at least one network analysis layer to be in the map.

This is not correct as I have added a network analysis layer by creating a new route.

*Note: if I copy the network dataset locally and reference the data over a UNC path, the service publishes fine.

So, why doesn't my network service publish when the data is remote? I believe it has been set up correctly and that the issue is specific to publishing a network dataset or perhaps it is the size of the data that I am publishing. This is a large, country scale network dataset.

Reply
0 Kudos
2 Replies
Highlighted
Occasional Contributor

Chris,

This sounds like an access issue. Double check in Task Manager the ArcGIS SOC processes are run by a domain account which has access to the UNC location.

But at the same time, having a network dataset on a remote (from the solver perspective) location is not a practice I would recommend. Since you already have it in a File GDB container, why not to copy it locally on every node of the cluster? To do so, copy the containing filegdb manually to every server, and configure the Data Store inside the ArcMap's Server Properties dialog accordingly right before publishing the service.

On the other hand, if the reason you want to use a shared location is to simplify network dataset updates happening due to frequent street edits, I would recommend to consider an SDE based deployment instead.

Best regards.

Reply
0 Kudos
Highlighted
Occasional Contributor

Hi Dmitry,

The ArcGIS for Server account is definitely running as a domain account and has permissions to the drive. I successfully registered the UNC path with ArcGIS Server and there were no errors when analyzing the document.

I was considering putting the dataset on both machines. The reason it is on a separate machine is that we want it on a fault tolerant file server for resilience but I will consider this option. Thanks for your feedback. 

Reply
0 Kudos