Operation Failed [setting Create Allocation]

Error Message

The Straight Line tool in Spatial Analyst fails with this error when setting Create Allocation:

"Operation Failed"


The Primary Display Field in the 'Distance To' dataset is not a string or integer field.

Solution or Workaround

  1. In ArcMap, right-click the 'Distance To' dataset and select Properties.

  2. Switch to the Fields tab and change the 'Primary Display Field' to an integer or string type field.

    This field can not be floating point type.

  3. Run the Straight Line tool.

Article ID:000004850

  • ArcMap 9 x
  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic