Description
The Delete Network Analysis Layer tool cannot delete the input network analysis layer if there are pending edits on the layer's sublayer data or other items in the geodatabase.
Solution
Save or discard all pending edits and run the tool again.