ERROR

Value cannot be null. Parameter name: Neither the SpatialReference projecting from or the SpatialReference projecting to can be null

Last Published: April 25, 2020

Error Message

When executing the Find Address task using an ArcIMS geocode service, the following error is returned:"Value cannot be null. Parameter name: Neither the SpatialReference
projecting from or the SpatialReference projecting to can be null"

Cause

The task does not have adequate coordinate system information, because the FILTERCOORDSYS and FEATURECOORDSYS properties are not defined in the AXL file for the service.

Solution or Workaround

Edit the AXL file for the ArcIMS service to include the FILTERCOORDSYS and FEATURECOORDSYS properties. For example:

Code:
<PROPERTIES>
<FILTERCOORDSYS id="4326" />
<FEATURECOORDSYS id="4326" />
</PROPERTIES>


Please refer to the Related Information section below for further details on defining these properties.

    Article ID:000010055

    Software:
    • Legacy Products

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options

    Related Information

    Discover more on this topic