<div>Stop the presses!</div>
<div>&nbsp;</div>
<div>This is an old error,&nbsp; search the archives and you'll get dozens of hits on it,&nbsp; and in many of them you'll find me saying not to use that version of mapserver downloaded from the mapserver homepage.&nbsp;</div>
<div>&nbsp;</div>
<div>That version has a smal executable that relies more on&nbsp;dll's, and I assume has some kind of compiling problem which prevents it from working on many Windows machines.&nbsp;It's caused problems for&nbsp;quite a few people including myself.
</div>
<div>&nbsp;</div>
<div>Go to&nbsp;</div>
<div>&nbsp;</div>
<div><a href="http://www.maptools.org/php_mapscript/index.phtml?page=downloads.html">http://www.maptools.org/php_mapscript/index.phtml?page=downloads.html</a></div>
<div>&nbsp;</div>
<div>and grab the 4.4.2 windows binaries from there ... you may want to try the new 4.6 version.</div>
<div>&nbsp;</div>
<div>Cheers,<br>Ken Lord</div>
<div>&nbsp;</div>
<div><br>&nbsp;</div>
<div><span class="gmail_quote">On 6/17/05, <b class="gmail_sendername">Emil Zegers</b> &lt;<a href="mailto:taatuut@planet.nl">taatuut@planet.nl</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello Siddarth,<br><br>You can enable MapServer debugging by setting DEBUG ON in the .map<br>file for the MAP, LAYER and CLASS objects you want to debug and adding
<br>a LOG parameter in the WEB object pointing to a file where the log<br>info will be stored (you can use abdolute or relative paths, this file<br>needs write access for the IUSR).<br><br>See also:<br><a href="http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?DebuggingMapserver">
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?DebuggingMapserver</a><br><a href="http://mapserver.gis.umn.edu/doc44/mapfile-reference.html">http://mapserver.gis.umn.edu/doc44/mapfile-reference.html</a> (serach for<br>DEBUG and LOG)
<br><br>Now you will get a log file with MapServer log info.<br><br>Another handy tool to monitor running programs is filemon from<br><a href="http://www.sysinternals.com">www.sysinternals.com</a><br><br>Install it and run it and don't forget to use a filter on the name of
<br>your MapServer executable or you will have to dig to giant loads of<br>log info (sometimes necessary though to not use a filter).<br><br>Regards,<br><br>Emil<br><br><br><br><br>----- Oorspronkelijk bericht -----<br>Van: Siddharth Parekh &lt;
<a href="mailto:sid.parekh@ERMAPPER.COM">sid.parekh@ERMAPPER.COM</a>&gt;<br>Datum: vrijdag, juni 17, 2005 1:22 pm<br>Onderwerp: Re: [UMN_MAPSERVER-USERS] CGI error.<br><br>&gt; Hi Emil,<br>&gt; I assume that the enabling the Mapserver debugging means going
<br>&gt; through the<br>&gt; IIS and right clicking to properties of .map file to &quot;log access&quot;,<br>&gt; &quot;read&quot;,&quot;write&quot; and &quot;script source access&quot;.<br>&gt; Everything is enabled.<br>
&gt; In the file security tab, Anonymous access is set to<br>&gt; IUSR_&lt;machinename&gt;.The option is checked for &quot;Allow IIS to control<br>&gt; password&quot;.There is write access to the folder that contains the<br>
&gt; .map file and I assume<br>&gt; that the log file will be written to that.<br>&gt; The checkbox in unchecked for &quot;Show friendly HTTP error messages&quot;.<br>&gt; If this is what is expected of the procedure, then how else can I
<br>&gt; track the<br>&gt; error.<br>&gt; Thanks in advance,<br>&gt; Cheers,<br>&gt;<br>&gt; Siddharth Parekh<br>&gt; Programmer Analyst<br>&gt; -----------------------------------------------<br>&gt; ER Mapper<br>&gt; 2 Abbotsford Street
<br>&gt; West Leederville WA 6007<br>&gt; Australia<br>&gt; Tel: +61 8 9388 2900<br>&gt; Fax: +61 8 9388 2901<br>&gt; Email: <a href="mailto:Sid.Parekh@ermapper.com">Sid.Parekh@ermapper.com</a><br>&gt; <a href="http://www.ermapper.com">
http://www.ermapper.com</a> (ER Mapper Home)<br>&gt; <a href="http://www.EarthEtc.com">http://www.EarthEtc.com</a> (Image Web Server)<br>&gt; <a href="http://forum.ermapper.com">http://forum.ermapper.com</a> (Public Forum)
<br>&gt; -----------------------------------------------<br>&gt; Just released: ER Mapper 7, Image Web Server 7,<br>&gt; RightWebMap 7 and ECW JPEG 2000 SDK 3.1<br>&gt; Visit <a href="http://www.ermapper.com">www.ermapper.com
</a> for more information<br>&gt; -----------------------------------------------<br>&gt;<br>&gt; -----Original Message-----<br>&gt; From: Emil Zegers [mailto:<a href="mailto:taatuut@planet.nl">taatuut@planet.nl</a>]<br>&gt; Sent: Friday, June 17, 2005 6:32 PM
<br>&gt; To: Siddharth Parekh; <a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</a><br>&gt; Subject: RE: [UMN_MAPSERVER-USERS] CGI error.<br>&gt;<br>&gt;<br>&gt; Hello Siddharth,<br>&gt;<br>&gt; Have you enabled Mapserver debugging in your .map file? This will
<br>&gt; give you a<br>&gt; log file with request info and error messages (when you're using<br>&gt; IIS make<br>&gt; sure the IUSR_&lt;machinename&gt; has write rights on the log file and<br>&gt; enablewrite rights for the folder containing the log file in the
<br>&gt; IIS management<br>&gt; console. When you are using Windows authentication and you are an<br>&gt; administrator testing the site on the local host this is not<br>&gt; necessary).<br>&gt; This may give you more specific information about what is going
<br>wrong.<br>&gt;<br>&gt; Also when you use Internet Explorer make sure you turned of 'Show<br>&gt; friendlyHTTP error messages' under menu Tools/Internet<br>&gt; Options/Advanced<br>&gt; With more debug info it might be easier to find the cause of your
<br>&gt; problem.<br>&gt; Regards,<br>&gt;<br>&gt; Emil<br>&gt;<br>&gt;<br>&gt; -----Original Message-----<br>&gt; From: UMN MapServer Users List [mailto:<a href="mailto:MAPSERVER-">MAPSERVER-</a><br>&gt; <a href="mailto:USERS@LISTS.UMN.EDU">
USERS@LISTS.UMN.EDU</a>]OnBehalf Of Siddharth Parekh<br>&gt; Sent: vrijdag 17 juni 2005 12:07<br>&gt; To: <a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</a><br>&gt; Subject: Re: [UMN_MAPSERVER-USERS] CGI error.
<br>&gt;<br>&gt;<br>&gt; There is a link in the README-install.txt for demos.<br>&gt; <a href="http://maps.dnr.state.mn.us/mapserver_demos/workshop.zip">http://maps.dnr.state.mn.us/mapserver_demos/workshop.zip</a><br>&gt; This is the demo that is causing the crash message and the CGI
<br>&gt; error as<br>&gt; detailed in the previous mails.<br>&gt; Cheers.<br>&gt;<br>&gt; Siddharth Parekh<br>&gt; Programmer Analyst<br>&gt; -----------------------------------------------<br>&gt; ER Mapper<br>&gt; 2 Abbotsford Street
<br>&gt; West Leederville WA 6007<br>&gt; Australia<br>&gt; Tel: +61 8 9388 2900<br>&gt; Fax: +61 8 9388 2901<br>&gt; Email: <a href="mailto:Sid.Parekh@ermapper.com">Sid.Parekh@ermapper.com</a><br>&gt; <a href="http://www.ermapper.com">
http://www.ermapper.com</a> (ER Mapper Home)<br>&gt; <a href="http://www.EarthEtc.com">http://www.EarthEtc.com</a> (Image Web Server)<br>&gt; <a href="http://forum.ermapper.com">http://forum.ermapper.com</a> (Public Forum)
<br>&gt; -----------------------------------------------<br>&gt; Just released: ER Mapper 7, Image Web Server 7,<br>&gt; RightWebMap 7 and ECW JPEG 2000 SDK 3.1<br>&gt; Visit <a href="http://www.ermapper.com">www.ermapper.com
</a> for more information<br>&gt; -----------------------------------------------<br>&gt;<br>&gt; -----Original Message-----<br>&gt; From: UMN MapServer Users List [mailto:<a href="mailto:MAPSERVER-">MAPSERVER-</a><br>&gt; 
<a href="mailto:USERS@LISTS.UMN.EDU">USERS@LISTS.UMN.EDU</a>]OnBehalf Of Bart van den Eijnden<br>&gt; Sent: Friday, June 17, 2005 6:01 PM<br>&gt; To: <a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU
</a><br>&gt; Subject: Re: [UMN_MAPSERVER-USERS] CGI error.<br>&gt;<br>&gt;<br>&gt; Okay, just checking.<br>&gt;<br>&gt; Can you be more specific on which&nbsp;&nbsp;demo you are using?<br>&gt;<br>&gt; Best regards,<br>&gt; Bart<br>
&gt;<br>&gt; Bart van den Eijnden<br>&gt; Syncera IT Solutions<br>&gt; Postbus 270<br>&gt; 2600 AG&nbsp;&nbsp;DELFT<br>&gt;<br>&gt; <a href="http://tel.nr">tel.nr</a>.: 015-7512436<br>&gt; email: <a href="mailto:BEN@Syncera-ITSolutions.nl">
BEN@Syncera-ITSolutions.nl</a><br>&gt;<br>&gt; &gt;&gt;&gt; Siddharth Parekh &lt;<a href="mailto:sid.parekh@ERMAPPER.COM">sid.parekh@ERMAPPER.COM</a>&gt; 06/17/05 11:57am &gt;&gt;&gt;<br>&gt; On running from the command line, it doesnt show me any crash
<br>message.<br>&gt; It displays<br>&gt; -----<br>&gt; This script can only be used to decode form results and<br>&gt; should be initiated as a CGI process via a httpd server.<br>&gt; -----<br>&gt;<br>&gt; And on running mapserv -v it displays
<br>&gt; -----<br>&gt; MapServer version 4.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP<br>&gt; OUTPUT=PDF<br>&gt; OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER<br>&gt; SUPPORTS=WMS_CLI<br>&gt; ENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
<br>&gt; INPUT=EPPL7INPU<br>&gt; T=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG<br>&gt; -----<br>&gt;<br>&gt; This isn't an error.<br>&gt;<br>&gt; On running through the browser, it displays, &quot;No query information to
<br>&gt; decode. QUERY_STRING not set.&quot;.<br>&gt;<br>&gt; Initially, it asked me that msvcr70.dll is missing.<br>&gt; I downloaded it and still it doesn't work.<br>&gt;<br>&gt; Any further ideas?<br>&gt; Thanks in advance.
<br>&gt;<br>&gt; Siddharth Parekh<br>&gt; Programmer Analyst<br>&gt; -----------------------------------------------<br>&gt; ER Mapper<br>&gt; 2 Abbotsford Street<br>&gt; West Leederville WA 6007<br>&gt; Australia<br>&gt; Tel: +61 8 9388 2900
<br>&gt; Fax: +61 8 9388 2901<br>&gt; Email: <a href="mailto:Sid.Parekh@ermapper.com">Sid.Parekh@ermapper.com</a><br>&gt; <a href="http://www.ermapper.com">http://www.ermapper.com</a> (ER Mapper Home)<br>&gt; <a href="http://www.EarthEtc.com">
http://www.EarthEtc.com</a> (Image Web Server)<br>&gt; <a href="http://forum.ermapper.com">http://forum.ermapper.com</a> (Public Forum)<br>&gt; -----------------------------------------------<br>&gt; Just released: ER Mapper 7, Image Web Server 7,
<br>&gt; RightWebMap 7 and ECW JPEG 2000 SDK 3.1<br>&gt; Visit <a href="http://www.ermapper.com">www.ermapper.com</a> for more information<br>&gt; -----------------------------------------------<br>&gt;<br>&gt; -----Original Message-----
<br>&gt; From: Bart van den Eijnden [mailto:<a href="mailto:BEN@Syncera-ITSolutions.NL">BEN@Syncera-ITSolutions.NL</a>]<br>&gt; Sent: Friday, June 17, 2005 5:44 PM<br>&gt; To: <a href="mailto:sid.parekh@ERMAPPER.COM">sid.parekh@ERMAPPER.COM
</a>; <a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</a><br>&gt; Subject: Re: [UMN_MAPSERVER-USERS] CGI error.<br>&gt;<br>&gt;<br>&gt; This is probably due to a missing dependency.<br>&gt;<br>
&gt; Does mapserv.exe run from the command-line? Can you run<br>&gt; mapserv.exe in the<br>&gt; browser and does it come back with No query information etc.?<br>&gt;<br>&gt; Otherwise check with a dependency tool like depends.
<br>&gt;<br>&gt; Best regards,<br>&gt; Bart<br>&gt;<br>&gt; Bart van den Eijnden<br>&gt; Syncera IT Solutions<br>&gt; Postbus 270<br>&gt; 2600 AG&nbsp;&nbsp;DELFT<br>&gt;<br>&gt; <a href="http://tel.nr">tel.nr</a>.: 015-7512436<br>
&gt; email: <a href="mailto:BEN@Syncera-ITSolutions.nl">BEN@Syncera-ITSolutions.nl</a><br>&gt;<br>&gt; &gt;&gt;&gt; Siddharth Parekh &lt;<a href="mailto:sid.parekh@ERMAPPER.COM">sid.parekh@ERMAPPER.COM</a>&gt; 06/17/05 11:29am &gt;&gt;&gt;
<br>&gt; Hey everyone,<br>&gt; I downloaded Mapserver 4.4.1 (ms441pg.zip) from<br>&gt; <a href="http://mapserver.gis.umn.edu/">http://mapserver.gis.umn.edu/</a> and installed it as described in the<br>&gt; Install.txt.<br>
&gt; On running a mapserver demo, it pops up with a crash message and then<br>&gt; browser displays error:<br>&gt; ------<br>&gt; CGI Error<br>&gt; The specified CGI application misbehaved by not returning a<br>&gt; complete set of
<br>&gt; HTTP headers. The headers it did return are:<br>&gt; -------<br>&gt; I even reinstalled everything from scratch, but no help.<br>&gt; I am installing it on Win XP SP2.<br>&gt; Any ideas?<br>&gt; Has this issue been resolved by someone?
<br>&gt; Can someone throw some light on it?<br>&gt; Thanks in advance.<br>&gt;<br>&gt; Siddharth Parekh<br>&gt; Programmer Analyst<br>&gt; -----------------------------------------------<br>&gt; ER Mapper<br>&gt; 2 Abbotsford Street
<br>&gt; West Leederville WA 6007<br>&gt; Australia<br>&gt; Tel: +61 8 9388 2900<br>&gt; Fax: +61 8 9388 2901<br>&gt; Email: <a href="mailto:Sid.Parekh@ermapper.com">Sid.Parekh@ermapper.com</a><br>&gt; <a href="http://www.ermapper.com">
http://www.ermapper.com</a> (ER Mapper Home)<br>&gt; <a href="http://www.EarthEtc.com">http://www.EarthEtc.com</a> (Image Web Server)<br>&gt; <a href="http://forum.ermapper.com">http://forum.ermapper.com</a> (Public Forum)
<br>&gt; -----------------------------------------------<br>&gt; Just released: ER Mapper 7, Image Web Server 7,<br>&gt; RightWebMap 7 and ECW JPEG 2000 SDK 3.1<br>&gt; Visit <a href="http://www.ermapper.com">www.ermapper.com
</a> for more information<br>&gt; -----------------------------------------------<br>&gt;<br></blockquote></div>