[ms4w-users] MS4W in IIS Environment

Jessica Fendos Jessica.Fendos at state.mn.us
Thu Oct 11 21:37:37 EDT 2007


Hi list:

I am using MS4W package with Chameleon in an IIS environment. Some
of my mapping applications will display map images (containing both
shapefiles and PostGIS data) in Apache but when I tried to display
both types of data in IIS, I got an broken image. It seems that I
can display only multiple shapefiles OR only PostGIS data but not
both in IIS.  
In addition, when I tested using a php file,
?php
 
dl("php_mapscript.dll");

$oMap =
ms_newMapObj("/ms4w/apps/chameleon/samples/map/world_wms.map");
$oImage = $oMap->draw();
header("Content-type: image/png");
$oImg->saveImage("/ms4w/tmp/ms_tmp/test.png");
 
?>
I got this error message: The image
"http://mapt.deed.state.mn.us:8080/chameleon/samples/test.php";;
> cannot be displayed, because it contains errors.
However,
"The image created by the script is fine when accessed via:
http:// mapt.deed.state.mn.us:8080/ms_tmp/test.png" .

I am really lost as to how to fix this problem. Could someone please
guide me on this? Thank you for your time.

Regards,
Jessica 


More information about the ms4w-users mailing list