030270: The network dataset is not stored in a geodatabase.

Description

The PublishRoutingServices tool only works with network datasets that are stored in a geodatabase.

Solution

Specify a network dataset that is stored in a file geodatabase, a mobile map package, or an enterprise geodatabase.