ERROR

There was a problem creating the layer package directories. Check your directory permissions and ensure that if there is an existing package in the location that it is not currently being accessed.

Last Published: February 13, 2025

Error Message

When packaging maps or projects that include network analysis layers, generated with the StreetMap Premium Network Dataset, the process fails and returns the following error:

Error:
There was a problem creating the layer package directories. Check your directory permissions and ensure that if there is an existing package in the location that it is not currently being accessed.

an image of the error message

Alternatively, the geoprocess can return the "Access Denied" error and in its log, the previous message appears:

error in geoprocessing log

Cause

By design, Network Analysis Layers reference the participating Network Dataset used to generate them; hence, when consolidating or packaging them, its network dataset will be consolidated or packaged too. Since the network dataset included in StreetMap Premium data is protected and only enabled with the Smart Data License file (.sdlic), theĀ Package Project, Package Map, or Package Layer tools cannot package the network dataset and will fail.

Solution or Workaround

You can use one of the following workarounds:

  • Generate the network analysis layers with a custom network dataset or from ArcGIS Online, not StreetMap Premium.
  • Do not package the complete network analysis layer group, but the sublayers individually.
  • Use theĀ Package Layer (Data Management) geoprocessing tool and check the Exclude Network Dataset parameter.
  • Share the Route analysis layer as a Route Layer.

Article ID: 000033599

Software:
  • ArcGIS Business Analyst Pro
  • ArcGIS Pro
  • ArcGIS StreetMap Premium
  • ArcGIS Network Analyst

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options