ERROR
When trying to access a ArcIMS image service using ArcPad, ArcPad crashes with an error window titled "JPEG Library Error" stating:
"Not a JPEG file:"
ArcPad expects JPEG images from ArcIMS map services. This error occurs when the ArcIMS map service returns a different type of output image, such as PNG.
As a precaution, ArcPad's requests automatically include the <OUTPUT> tag, which allows ArcPad to specifically request a JPEG image, regardless of the type of image the map service usually produces. However, by default the <OUTPUT> tag is blocked by the ArcIMS server as a security measure.
Using ArcIMS
Administering the ArcIMS Servlet Connector
ArcIMS Servlet connector properties
Properties
spatialServer.AllowRequestOutput
Code:
spatialServer.AllowRequestOutput=True
Note:
spatialServer.AllowResponsePath can be left as False
Get help from ArcGIS experts
Download the Esri Support App