<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
size=2>Albert, </FONT></SPAN></DIV>
<DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff size=2>You 
are calling the MapServer cgi program, but you are not telling it which map file 
to use for configuration.&nbsp; If you are calling the program with a get 
request (in a URL), it should look something like:</FONT></SPAN></DIV>
<DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff size=2><A 
href="http://my.site/cgi-bin/mapserv?map=/home/mydirectory/mymapfile.map">http://my.site/cgi-bin/mapserv?map=/home/mydirectory/mymapfile.map</A></FONT></SPAN></DIV>
<DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff size=2>You 
will likely set other variables in the URL also, like mode, layers, etc.&nbsp; 
</FONT></SPAN></DIV>
<DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff size=2>If you 
are calling the MapServer cgi from a html form, you are missing a hidden html 
variable named map that, like the url variable above, would contain the path to 
your map file.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
size=2>David.</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer 
  Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Albert 
  Anderson<BR><B>Sent:</B> Thursday, June 29, 2006 8:18 AM<BR><B>To:</B> 
  MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] load 
  Map error<BR><BR></FONT></DIV>Hi,<BR><BR>&nbsp;I am getting this error 
  loadMap(): Web application error. CGI variable "map" is not set.&nbsp; That is 
  when I am clicking the submit button and it doesnt load up the map. Can anyone 
  help me?<BR><BR><BR><BR>Thanks,<BR>Albert<BR>
  <P>
  <HR SIZE=1>
  Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. <A 
  href="http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com">Great 
  rates starting at 1¢/min.</A></BLOCKQUOTE></BODY></HTML>