English

Error: ArcIMS Site Starter Application: Page can not be found

Error Message

This error occurs when attempting to launch default.asp:

"Page can not be found"

The URL is incorrect and looks something like:

http://webserver/website/myviewerapp/presentation//map.asp?Cmd=INIT

It should look something like:

http://webserver/website/myviewerapp/presentation/compass/map.asp?Cmd=INIT

Cause

The variable for the presentation style is not being read from the global.asa file. This is due to incorrect casing for one or more of the site constants.

Solution or Workaround

Edit the global.asa file to include the correct casing for the required site constants.

Code:
Const MAP_SERVICE_NAME = "states"

Const IDENTIFYLAYER_NAME = "STATES"
Const IDENTIFYLAYER_FIELDS = "#ALL"
Const IDENTIFYLAYER_ALIASES = "#ALL"