ERROR
Loading an HTML viewer into an Internet browser returns:
"[ERR0134] Requested Service is not available.
http://machinename/servlet/com.esri.esrimap.Esrimap?ServiceName=test"
There are several causes for this error. The most common are:
A. The map service being accessed is not running.
B. Map service names are case sensitive.
C. When the ArcIMSParm.js file specifies a machine name and the user specifies a fully qualified domain name.
D. Opening an Internet browser and attempting to load the Web site using the IP address as the hostname rather than the HostURL variable in the aimsdefaults.properties file.
A. Verify the map service to be used is actually running in ArcIMS Administrator.
B. Check case differences between the map service name specified in the error message and that in ArcIMS Administrator.
C. Verify that the URL typed into the browser matches the value for the imsURL and imsOVURL variables in the ArcIMSParam.js file for the particular Web site being accessed.
D. In general, the imsURL and imsOVURL variables in the ArcIMSParam.js file are hardcoded using the HostURL variable in the aimsdefaults.properties file. For example:
If the Web server has DNS name and IP address:
gis.esri.com:7070
123.4.5.67:7070
The aimsdefaults.properties file specifies 'gis.esri.com:7070' as the HostURL. When a Web site is created, 'gis.esri.com:7070' is hardcoded into the imsURL and imsOVURL variables.
If this is the case there are two options:
· Set the redirect variables found in the Servlet Connector Directory in the esrimap_prop file.
Code:
redirect=True
redirectableHosts=*
Code:
var imsURL = 'http://gis.esri.com:7070/servlet/com.esri.esrimap.Esrimap?ServiceName=<name of service>';
var imsOVURL = 'http://gis.esri.com:7070/servlet/com.esri.esrimap.Esrimap?ServiceName=<name of service>';
Code:
var imsURL = 'http://' + hostName + '/servlet/com.esri.esrimap.Esrimap?ServiceName=<name of service>';
var imsOVURL = 'http://' + hostName + '/servlet/com.esri.esrimap.Esrimap?ServiceName=<name of service>';
Note:
These options may also need to be followed if multiple DNS names are being used to reference a single Web server, or if multiple Web servers are accessing the same Web sites.
Article ID:000004820
Get help from ArcGIS experts
Download the Esri Support App