English

Error: The network dataset has no edge elements. It may be unbuilt

Error Message

When performing analysis using network analysis tools on a network analysis layer that has parameters set for the analysis objects and layers, the following error displays:

Error:
The network dataset has no edge elements. It may be unbuilt.
image of error message

Cause

There are two reasons that lead to this error:

  • The feature class that acts as a feature source for the edge element has a geometry problem. For a list of geometry problems, see the following document: Check Geometry
  • The network dataset is not rebuilt after it is edited.

Solution or Workaround

Depending on the cause of the error, use the solutions below:

If the feature class that acts as a feature source for the edge element has a geometry problem
Check and repair the geometry of the feature class. For more information, see the following the document: Checking and repairing geometries. To check the geometry, use the Check Geometry tool. Follow the steps below:
  1. Navigate to ArcToolbox > Data Management > Features > Check Geometry.
  2. In the Check Geometry dialog box, select the feature class to be reviewed as the Input Feature.
  3. Select the location for the Output Table.
  4. Click OK.
  5. View the output table to see if there are any geometry problems. For more information, see the following document: Check Geometry
If the output table indicates that the geometry has a problem, use the Repair Geometry tool to repair the geometry by following the steps below:
  1. Navigate to ArcToolbox > Data Management > Features > Repair Geometry.
  2. In the Repair Geometry dialog box, select the feature class with the problematic geometry as the Input Feature.
  3. Click OK.
Once the geometry is repaired, rebuild the network dataset.

If the network dataset is not rebuilt after it is edited
Rebuild the network dataset after editing the dataset or the source feature. Rebuilding the entire network dataset after making edits is necessary to prevent the error. For more information on how to build a network dataset, see Building a network dataset in ArcMap.

Related Information

ArcMap Help: Network elements
ArcMap Help: Common build errors
ArcMap Help: Network analysis workflow
ArcMap Help: Troubleshooting network analyses