<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1258">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>RE: Why Demo in Tutorial only support GIF  imagetype?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT COLOR="#000080" FACE="Arial">Hi,</FONT>
</P>

<P><FONT COLOR="#000080" FACE="Arial">I installed MapServer 4.2 binary with IIS and try to run example maps in the tutorial.</FONT>
</P>

<P><FONT COLOR="#000080" FACE="Arial">Take example 1-1.map as an example, I can only display GIF type map. If I change the imagetype in the example1-1.map to PNG, JPEG or whatever, it does not work and return me a below error(if the imagetype=JPEG).</FONT></P>

<P><B><SPAN LANG="en-ca"><FONT FACE="Times New Roman">CGI Error</FONT></SPAN></B><SPAN LANG="en-ca"> <FONT FACE="Times New Roman">The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:</FONT> <FONT FACE="Courier New">ÿØÿà</FONT></SPAN></P>

<P><SPAN LANG="en-us"><FONT COLOR="#000080" FACE="Arial">&nbsp;</FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT COLOR="#000080" FACE="Arial">If change the imagetype =PNG, then returns</FONT></SPAN>

<BR><B><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Times New Roman">CGI Error</FONT></SPAN></B><SPAN LANG="en-ca"> <FONT SIZE=2 FACE="Times New Roman">The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:&nbsp;</FONT> <FONT SIZE=2 FACE="Tahoma">‰</FONT><FONT SIZE=2 FACE="Courier New">PNG</FONT></SPAN></P>

<P><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Courier New"></FONT></SPAN>
</P>

<P><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Courier New">I checked &quot;Mapserv -v&quot; command, it shows that it support PNG, GIF, JPEG,GDAL, etc.</FONT></SPAN>
</P>

<P><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Courier New">Anyone canhelp me on this?</FONT></SPAN>
</P>

<P><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Courier New">Thanks a lot</FONT></SPAN>
</P>

<P><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Courier New">Henry</FONT></SPAN>
</P>

</BODY>
</HTML>