030267: The network dataset does not have at least one distance based cost attribute

Description

The PublishRoutingServices tool requires a network dataset that has at least one cost attribute with distance-based units.

Solution

Use a network dataset with at least one distance-based cost attribute or create a distance-based cost attribute on the network dataset.