<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>Trouble creating WMS</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">I am trying to create a WMS service with MapServer. I believe I successfully created the service, because I am able to connect to it and view it in ArcGIS. But I tried to create a Map file to view it in Ka-Map, and also in CGI mode. Ka-Map appears to be reading the file, which takes a while, but in the end the Ka-Map screen has no map. However, the Map Info window does show an accurate extent. I've gone through the MapServer documentation, but can't figure out what's wrong. Below are map map files:</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Map file to create the WMS service:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">MAP</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">CONFIG "MS_ERRORFILE" "/ms4w/tmp/wmserror.txt"</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">DEBUG 3</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> EXTENT 336615.770850 4759552.833350 662100.770850 5256295.833350</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGECOLOR 200 200 200</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGETYPE PNG24</FONT>
<BR><FONT SIZE=2 FACE="Arial"> SIZE 800 600</FONT>
<BR><FONT SIZE=2 FACE="Arial"> NAME "WMS Base Map"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> SHAPEPATH "C:\BaseMapData"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> FONTSET "C:\Program Files\Microsoft Office\Office10CD\FILES\WINDOWS\FONTS\ARIALUNI.TTF"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> UNITS meters</FONT>
<BR><FONT SIZE=2 FACE="Arial"> WEB</FONT>
<BR><FONT SIZE=2 FACE="Arial"> </FONT>
<BR><FONT SIZE=2 FACE="Arial"> MINSCALEDENOM 100</FONT>
<BR><FONT SIZE=2 FACE="Arial"> MAXSCALEDENOM 5000000</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGEPATH "C:/ms4w/apache/htdocs"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGEURL "</FONT><A HREF="http://localhost/"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://localhost/</FONT></U></A><FONT SIZE=2 FACE="Arial">"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> METADATA</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "wms_server_version" "1.1.1"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "wms_title" "WMS Base Data"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "wms_onlineresource" "</FONT><A HREF="http://localhost/cgi-bin/mapserv.exe?map=../../apps/ka-map-1.0/htdocs/BaseMap-MapServer/BaseWMS.map&"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://localhost/cgi-bin/mapserv.exe?map=../../apps/ka-map-1.0/htdocs/BaseMap-MapServer/BaseWMS.map&</FONT></U></A><FONT SIZE=2 FACE="Arial">"</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> "wms_srs" "EPSG:2960"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "wms_abstract" "GIS data WMS test"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
<BR><FONT SIZE=2 FACE="Arial"> PROJECTION</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "init=epsg:2960"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">QUERYMAP</FONT>
<BR><FONT SIZE=2 FACE="Arial">STATUS ON</FONT>
<BR><FONT SIZE=2 FACE="Arial">STYLE HILITE</FONT>
<BR><FONT SIZE=2 FACE="Arial">END</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> INCLUDE "northeast.map"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> INCLUDE "towns250.map"</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">END</FONT>
<BR><FONT SIZE=2 FACE="Arial">#END OF MAP FILE</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Map file for WMS client:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">MAP</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> EXTENT 336615.770850 4759552.833350 662100.770850 5256295.833350</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGECOLOR 200 200 200</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGETYPE PNG</FONT>
<BR><FONT SIZE=2 FACE="Arial"> SIZE 800 600</FONT>
<BR><FONT SIZE=2 FACE="Arial"> NAME "WMS Test Map"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> SHAPEPATH "C:\BaseMapData"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> FONTSET "C:\Program Files\Microsoft Office\Office10CD\FILES\WINDOWS\FONTS\ARIALUNI.TTF"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> UNITS meters</FONT>
<BR><FONT SIZE=2 FACE="Arial"> WEB</FONT>
<BR><FONT SIZE=2 FACE="Arial"># MINSCALEDENOM 100</FONT>
<BR><FONT SIZE=2 FACE="Arial"># MAXSCALEDENOM 5000000</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGEPATH "C:/ms4w/apache/htdocs"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGEURL "</FONT><A HREF="http://localhost/"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://localhost/</FONT></U></A><FONT SIZE=2 FACE="Arial">"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> PROJECTION</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "init=epsg:2960"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">LAYER</FONT>
<BR><FONT SIZE=2 FACE="Arial"> TYPE raster</FONT>
<BR><FONT SIZE=2 FACE="Arial"> DEBUG ON</FONT>
<BR><FONT SIZE=2 FACE="Arial"> NAME "WMSTest"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> STATUS ON</FONT>
<BR><FONT SIZE=2 FACE="Arial"> CONNECTIONTYPE WMS</FONT>
<BR><FONT SIZE=2 FACE="Arial"> CONNECTION "</FONT><A HREF="http://localhost/cgi-bin/mapserv.exe?"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://localhost/cgi-bin/mapserv.exe?</FONT></U></A><FONT SIZE=2 FACE="Arial">" </FONT>
<BR><FONT SIZE=2 FACE="Arial"> METADATA</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "wms_server_version" "1.1.1"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "wms_format" "image/png"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "wms_title" "WMSBaseData"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "wms_onlineresource" "MapServWMSTest"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "wms_srs" "EPSG:2960"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "wms_abstract" "GIS data test"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "wms_name" "towns250,Northeast"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
<BR><FONT SIZE=2 FACE="Arial"> </FONT>
<BR><FONT SIZE=2 FACE="Arial">END</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">END</FONT>
<BR><FONT SIZE=2 FACE="Arial">#END OF MAP FILE</FONT>
</P>
</BODY>
</HTML>