Description
The PublishRoutingServices tool requires a network dataset that has at least one cost attribute with time-based units.
Solution
Use a network dataset with at least one time-based cost attribute or create a time-based cost attribute on the network dataset.