ERROR

There was an error reading the SERVICE_INFO response

Last Published: April 25, 2020

Error Message

When using an ArcIMS Image Service in the .Net version of the Web Mapping Application, the following error displays:

"There was an error reading the SERVICE_INFO response".

Cause

There is likely an invalid attribute value in the map configuration file. The error message may display even if the service works correctly in other clients. The .Net ADF is much more strict when parsing ArcXML than the Java ADF, ArcMap, or the HTML Viewer. Therefore, it is possible for services to run correctly everywhere except with .Net.

Solution or Workaround

The most common reason for this error is that one or more attribute values in the map configuration file needs to be a whole number such as "1" or "2"; no decimal point. They can't be a decimal value like "1.5". Some tags and attributes that are affected by this are:
Code:
CHARTSYMBOL width
HASHLINESYMBOL linethickness, tickthickness, width
SCALEBAR barwidth
SHIELDSYMBOL minsize
SIMPLELINESYMBOL width
SIMPLEMARKERSYMBOL width
SIMPLEPOLYGONSYMBOL boundarywidth

As an example, the following is incorrect since the attribute value for width is "1.5":
Code:
<SIMPLELINESYMBOL width="1.5" color="255,0,0" />

This should be changed to:
Code:
<SIMPLELINESYMBOL width="1" color="255,0,0" />

Another potential reason for the error is that an attribute value that has incorrect case sensitivity has been included. Attribute values are case sensitive as listed in the ArcXML Programmer's Reference Guide and the ArcXML DTD. The DTD can be found in the ArcIMS Install/documentation directory.

The following is incorrect since the value for units has the wrong case sensitivity:
Code:
<MAPUNITS units="Feet"/>

The following is correct:
Code:
<MAPUNITS units="feet"/>

    Article ID:000009655

    Software:
    • ArcGIS Server

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options

    Discover more on this topic