English

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

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.

    Related Information