English

Error: CGIPATH and CON-CGI DISPLAY drivers, how to set

Solution or Workaround

PRODUCT: PC ARC/INFO

PLATFORM: PC

Error Message

When starting ARCPLOT or ARCEDIT, or the Understanding GIS (UGIS)
tutorial SML's (&RUN INTRO or &RUN PROJDB), one of two error messages may occur:

"GRAPHICS DEVICE MUST BE A MONITOR.
GRAPHICS DEVICE MUST BE A MONITOR.
GRAPHICS DEVICE MUST BE A MONITOR." (continuous scrolling)

OR

"serial comms driver V5 com2 (IRQ level.)
gss-cgi lahey fortran90 /fileapp extender binding version 1
copyright ematak ...
error -3003 run con-cgi program
serial comms driver V5 com2 (IRQ level.)
*** com2 driver removed ***"

Cause

The CGIPATH has not been as an environment variable and/or the [ARC] level program CON-CGI has not been run to set up a DOS DISPLAY driver.

Solution

Warning:
WARNING: The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary.

ESRI cannot guarantee results from incorrect modifications while following these instructions. Therefore, use caution and proceed at your own risk.


Caution
Step #1 gives different instructions for specific Operating Systems; be sure you use only those that pertain to your OS, and proceed to Step #2.

1-A. For Native MS-DOS, Windows 95 and Windows 98:
The following line needs to be added in your C:\AUTOEXEC.BAT file:

SET CGIPATH=C:\ARCEXE\CGI

Insert the above line just below the line in the C:\AUTOEXEC.BAT file which
reads:

SET ARC=C:\ARCEXE
---------------------

1-B. For Windows NT 3.5.1:

See document #67.2125 PCAI35:
Windows NT 3.5.1 - Installation instructions.
-------------------

1-C. For Windows NT 4.0:

See document #7.2358 PCAI35:
Windows NT 4.0 - Installation instructions

2. Save the file and re-boot the PC.
It will be necessary to run the [ARC] CON-CGI program and choose a DOS video
DISPLAY driver before you use ARCPLOT, ARCEDIT, or the UGIS tutorials again. If
you do not see your exact DOS video driver availble here are 5 recommended
choices that work on most PC's:

IBMVGA12.SYS
HRVGA.SYS (Standard 640 x 480 VGA)
HRVGA.SYS (Everex Viewpoint)
HRVGA.SYS (VESA Standard) <-- for video cards with a VESA compliant BIOS
CGIVESA8.SYS <-- for video cards with a VESA compliant BIOS

NOTES:

In order to use ARCEDIT, ARCPLOT, or the UGIS tutorial it is required that you
be in either native MS-DOS or in a FULL SCREEN DOS COMPATIBILITY BOX from
within Windows. To enter a FULL SCREEN MS-DOS COMPATIBILITY BOX use the
following combination of keys on your keyboard:

ALT + ENTER

This will toggle the small DOS window (with the Windows interface in the
background) into a FULL SCREEN DOS SESSION (you will not see the Windows
interface in the background). Perform the "ALT + ENTER" from the [ARC] prompt
before you attempt to start ARCEDIT or ARCPLOT. When you are done with your
ARCEDIT or ARCPLOT session use the "ALT + ENTER" keys again to toggle back to
the smaller DOS windows (now you can see the Windows interface in the
backgorund). Only use the Windows Extensions version of ARCEDITW and ARCPLOTW
when you can see the Windows interface in the background.
RELATED DOCUMENTS:
#67.2125 Windows NT 3.5.1 -
Installation instructions.
#7.2358 Windows NT 4.0 -
Installation instructions
#7.1655 CON-CGI - Choosing
different video DISPLAY driver

INTERNAL ONLY DOCUMENTS:
#89.2284 PCAI: EDGEMATCH
returns CGI error
SDBsn48151 Add SET CGIPATH=C:\ARCEXE\CGO statement to AUTOEXEC.BAT in
installer