PROBLEM

Cannot view map in HTML Viewer

Last Published: April 25, 2020

Description

I am using ArcIMS on a multiple computer configuration and I cannot view the map on my
HTML Viewer.

Cause

ArcIMS Designer may be on a different computer than the computer where the ArcIMS
Application Server is located.

If ArcIMS Designer is on a different computer than the computer where the ArcIMS
Application Server is located, then the global variable in ArcIMSparam.js called formFilePath will point to a location relative to the ArcIMS Designer computer and not the ArcIMS Application Server computer.

The formFilePath variable is used to locate header.htm and footer.htm for the ArcIMS
Servlet Connector, which in turn creates the proper response form in PostFrame.

Solution or Workaround



In the form, the file location of header.htm and footer.htm files are passed as values. The web server computer must be able to understand and resolve the formFilePath and
access the file locations. For example, if you have a distributed system, any mounted drives used in these pathnames must be accessible from the web server.

To test if the ArcIMS Servlet Connector is finding the location, in viewer.htm change the
following line from

Code:
document.writeln(‘<FRAMESET ROWS="’ + (30+addNS) + ‘,*,30,1"
FRAMEBORDER="No" FRAMESPACING="0" onload="doIt()" BORDER=0 ‘ + moreStuff +
‘>’);

to
Code:
document.writeln(‘<FRAMESET ROWS="’ + (30+addNS) + ‘,*,30,100"
FRAMEBORDER="No" FRAMESPACING="0" onload="doIt()" BORDER=0 ‘ + moreStuff +
‘>’);

This will make PostFrame larger so you can see the update of this frame. If it stays black
it is working properly. If text appears in the frame then the header and footer portions are not being written to the page and the viewer is basically stopped. This is usually resolved by setting the global formFilePath to the path where header.htm and footer.htm are located.

Article ID:000002097

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic