Description
When running the Calculate Locations tool using a sublayer of a network analysis layer as the input features, the input network dataset must match the network analysis layer's network dataset.
Solution
Set the Input Analysis Network parameter value to the network analysis layer's network dataset, or do not specify a value for this parameter.