Just some more information about the problem...<br>The error was generated by IIS (5.1 and 6.0) ... Looking the Logfile, It is a 502 error :<br><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="font-family: Verdana; font-size: 13px;"><p>
<b>502</b><span> </span>- Web server received an invalid response while acting as a gateway or proxy.</p><blockquote><p><b>502.1</b><span> </span>- CGI application timeout.<br>
<b>502.2</b><span> </span>- Error in CGI application.</p></blockquote></span></span>It only happens with Mapserver 5.4 ... With 5.2 version, thats 100% working...<br><br>Paul<br><br><div class="gmail_quote">On Thu, May 28, 2009 at 5:43 PM, Paul james <span dir="ltr"><<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I got that error when try to enter : <a href="http://localhost/cgi-bin/mapserv.exe?map=C:/map.map" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=C:/map.map</a><br>
<h1>CGI Error</h1>The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:<br>
<br><br>My Map:<br><br>MAP<br> EXTENT -79.7892 -34.2426 -24.9958 6.11775<br> FONTSET "Fonts\Fonts.txt"<br> IMAGECOLOR 230 254 254<br>
IMAGETYPE png<br> SIZE 800 600<br> STATUS ON<br> UNITS dd<br> NAME "Test" <br> <br> OUTPUTFORMAT<br> NAME "png"<br> MIMETYPE "image/png"<br> DRIVER "GD/PNG"<br>
EXTENSION "png"<br> IMAGEMODE "PC256"<br> TRANSPARENT FALSE<br> END<br> <br> PROJECTION<br> 'proj=longlat'<br> 'ellps=WGS84'<br> 'datum=WGS84'<br>
'no_defs'<br> END<br><br> WEB<br> IMAGEPATH 'C:\map\temp'<br> IMAGEURL '/tmp/'<br> QUERYFORMAT text/html<br> LEGENDFORMAT text/html<br> BROWSEFORMAT text/html<br>
END<br> <br> QUERYMAP<br> COLOR 255 0 0<br> SIZE -1 -1<br> STATUS ON<br> STYLE hilite<br> END<br> <br> REFERENCE<br> EXTENT -79.7892 -34.2426 -24.9958 6.11775 <br> STATUS on<br>
SIZE 221 150<br> MINBOXSIZE 5<br> MAXBOXSIZE 150<br> COLOR -1 -1 -1<br> OUTLINECOLOR 255 0 0<br> MARKERSIZE 8<br> END <br><br>LAYER<br> NAME Test<br> GROUP "Tests"<br>
TYPE POLYGON<br> STATUS default<br> CONNECTIONTYPE POSTGIS<br> CONNECTION "user=xpassword=xdbname=x host=x port=5432" <br> DATA "the_geom from viwgeo_x USING UNIQUE oid USING SRID=-1"<br>
CLASS<br> COLOR 255 0 255<br> END<br> END <br><br>END<br><br><br>
</blockquote></div><br>