<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Trouble creating WMS</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#000080 size=2>
<DIV dir=ltr align=left><SPAN class=466085719-10092008><FONT color=#000080 
size=2>I think I have the problem solved now.&nbsp; My connection string on the 
client Map file was not complete.&nbsp; I think I have fixed it 
now.</FONT></SPAN></DIV><BR></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Bistrais, Bob <BR><B>Sent:</B> Wednesday, 
September 10, 2008 3:34 PM<BR><B>To:</B> 
mapserver-users@lists.osgeo.org<BR><B>Subject:</B> [mapserver-users] Trouble 
creating WMS<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>I am trying to create a WMS service with 
MapServer.&nbsp; I believe I successfully created the service, because I am able 
to connect to it and view it in ArcGIS.&nbsp; But I tried to create a Map file 
to view it in Ka-Map, and also in CGI mode.&nbsp; Ka-Map appears to be reading 
the file, which takes a while, but in the end the Ka-Map screen has no 
map.&nbsp; However, the Map Info window does show an accurate extent.&nbsp; I've 
gone through the MapServer documentation, but can't figure out what's 
wrong.&nbsp; Below are map map files:</FONT></P>
<P><FONT face=Arial size=2>Map file to create the WMS service:</FONT> </P>
<P><FONT face=Arial size=2>MAP</FONT> </P>
<P><FONT face=Arial size=2>CONFIG "MS_ERRORFILE" "/ms4w/tmp/wmserror.txt"</FONT> 
</P>
<P><FONT face=Arial size=2>DEBUG 3</FONT> </P>
<P><FONT face=Arial size=2>&nbsp; EXTENT 336615.770850 4759552.833350 
662100.770850 5256295.833350</FONT> <BR><FONT face=Arial size=2>&nbsp; 
IMAGECOLOR 200 200 200</FONT> <BR><FONT face=Arial size=2>&nbsp; IMAGETYPE 
PNG24</FONT> <BR><FONT face=Arial size=2>&nbsp; SIZE 800 600</FONT> <BR><FONT 
face=Arial size=2>&nbsp; NAME "WMS Base Map"</FONT> <BR><FONT face=Arial 
size=2>&nbsp; SHAPEPATH "C:\BaseMapData"</FONT> <BR><FONT face=Arial 
size=2>&nbsp; FONTSET "C:\Program Files\Microsoft 
Office\Office10CD\FILES\WINDOWS\FONTS\ARIALUNI.TTF"</FONT> <BR><FONT face=Arial 
size=2>&nbsp; UNITS meters</FONT> <BR><FONT face=Arial size=2>&nbsp; WEB</FONT> 
<BR><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; </FONT><BR><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; MINSCALEDENOM 100</FONT> <BR><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; MAXSCALEDENOM 5000000</FONT> <BR><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; IMAGEPATH "C:/ms4w/apache/htdocs"</FONT> <BR><FONT 
face=Arial size=2>&nbsp;&nbsp;&nbsp; IMAGEURL "</FONT><A 
href="http://localhost/"><U><FONT face=Arial color=#0000ff 
size=2>http://localhost/</FONT></U></A><FONT face=Arial size=2>"</FONT> 
<BR><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; METADATA</FONT> <BR><FONT 
face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_server_version" 
"1.1.1"</FONT> <BR><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"wms_title" "WMS Base Data"</FONT> <BR><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_onlineresource"&nbsp;&nbsp; 
"</FONT><A 
href="http://localhost/cgi-bin/mapserv.exe?map=../../apps/ka-map-1.0/htdocs/BaseMap-MapServer/BaseWMS.map&amp;"><U><FONT 
face=Arial color=#0000ff 
size=2>http://localhost/cgi-bin/mapserv.exe?map=../../apps/ka-map-1.0/htdocs/BaseMap-MapServer/BaseWMS.map&amp;</FONT></U></A><FONT 
face=Arial size=2>"</FONT></P>
<P><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"wms_srs"&nbsp;&nbsp;&nbsp; "EPSG:2960"</FONT> <BR><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_abstract"&nbsp;&nbsp;&nbsp; "GIS data 
WMS test"</FONT> <BR><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; END</FONT> 
<BR><FONT face=Arial size=2>&nbsp; END</FONT> <BR><FONT face=Arial size=2>&nbsp; 
PROJECTION</FONT> <BR><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
"init=epsg:2960"</FONT> <BR><FONT face=Arial size=2>&nbsp; END </FONT></P>
<P><FONT face=Arial size=2>QUERYMAP</FONT> <BR><FONT face=Arial size=2>STATUS 
ON</FONT> <BR><FONT face=Arial size=2>STYLE HILITE</FONT> <BR><FONT face=Arial 
size=2>END</FONT> </P>
<P><FONT face=Arial size=2>&nbsp; INCLUDE "northeast.map"</FONT> <BR><FONT 
face=Arial size=2>&nbsp; INCLUDE "towns250.map"</FONT> </P>
<P><FONT face=Arial size=2>END</FONT> <BR><FONT face=Arial size=2>#END OF MAP 
FILE</FONT> </P><BR>
<P><FONT face=Arial size=2>Map file for WMS client:</FONT> </P>
<P><FONT face=Arial size=2>MAP</FONT> </P>
<P><FONT face=Arial size=2>&nbsp; EXTENT 336615.770850 4759552.833350 
662100.770850 5256295.833350</FONT> <BR><FONT face=Arial size=2>&nbsp; 
IMAGECOLOR 200 200 200</FONT> <BR><FONT face=Arial size=2>&nbsp; IMAGETYPE 
PNG</FONT> <BR><FONT face=Arial size=2>&nbsp; SIZE 800 600</FONT> <BR><FONT 
face=Arial size=2>&nbsp; NAME "WMS Test Map"</FONT> <BR><FONT face=Arial 
size=2>&nbsp; SHAPEPATH "C:\BaseMapData"</FONT> <BR><FONT face=Arial 
size=2>&nbsp; FONTSET "C:\Program Files\Microsoft 
Office\Office10CD\FILES\WINDOWS\FONTS\ARIALUNI.TTF"</FONT> <BR><FONT face=Arial 
size=2>&nbsp; UNITS meters</FONT> <BR><FONT face=Arial size=2>&nbsp; WEB</FONT> 
<BR><FONT face=Arial size=2>#&nbsp;&nbsp;&nbsp; MINSCALEDENOM 100</FONT> 
<BR><FONT face=Arial size=2>#&nbsp;&nbsp;&nbsp; MAXSCALEDENOM 5000000</FONT> 
<BR><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; IMAGEPATH 
"C:/ms4w/apache/htdocs"</FONT> <BR><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
IMAGEURL "</FONT><A href="http://localhost/"><U><FONT face=Arial color=#0000ff 
size=2>http://localhost/</FONT></U></A><FONT face=Arial size=2>"</FONT> 
<BR><FONT face=Arial size=2>&nbsp; END</FONT> </P>
<P><FONT face=Arial size=2>&nbsp; PROJECTION</FONT> <BR><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; "init=epsg:2960"</FONT> <BR><FONT face=Arial 
size=2>&nbsp; END </FONT></P>
<P><FONT face=Arial size=2>LAYER</FONT> <BR><FONT face=Arial size=2>&nbsp; TYPE 
raster</FONT> <BR><FONT face=Arial size=2>&nbsp; DEBUG ON</FONT> <BR><FONT 
face=Arial size=2>&nbsp; NAME "WMSTest"</FONT> <BR><FONT face=Arial 
size=2>&nbsp; STATUS ON</FONT> <BR><FONT face=Arial size=2>&nbsp; CONNECTIONTYPE 
WMS</FONT> <BR><FONT face=Arial size=2>&nbsp; CONNECTION "</FONT><A 
href="http://localhost/cgi-bin/mapserv.exe?"><U><FONT face=Arial color=#0000ff 
size=2>http://localhost/cgi-bin/mapserv.exe?</FONT></U></A><FONT face=Arial 
size=2>"&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR><FONT face=Arial size=2>&nbsp; 
METADATA</FONT> <BR><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
"wms_server_version" "1.1.1"</FONT> <BR><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp; "wms_format" "image/png"</FONT> <BR><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_title" "WMSBaseData"</FONT> <BR><FONT 
face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"wms_onlineresource"&nbsp;&nbsp; "MapServWMSTest"</FONT> <BR><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_srs" "EPSG:2960"</FONT> <BR><FONT 
face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"wms_abstract"&nbsp;&nbsp;&nbsp; "GIS data test"</FONT> <BR><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_name" "towns250,Northeast"</FONT> 
<BR><FONT face=Arial size=2>&nbsp; END</FONT> <BR><FONT face=Arial 
size=2>&nbsp;&nbsp; </FONT><BR><FONT face=Arial size=2>END</FONT> </P>
<P><FONT face=Arial size=2>END</FONT> <BR><FONT face=Arial size=2>#END OF MAP 
FILE</FONT> </P></BODY></HTML>