Error: 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.

Related Information