[MS4W-Users] MS4W under IIS?

Evans, James R Civ USAF ACC 84 RADES/SCZE James.Evans at hill.af.mil
Tue Apr 23 07:09:33 EST 2013


We've double checked all the permissions we can think of.  Everything seems to be correct, yet we still get the errors below when we try quickmap.php, and similar errors when we try to hit getcapabilities or a map request.  Any other thoughts on why this wouldn't work?  We are running IIS version 6, and I think this is a Server 2008 box.  This was all working great under Apache, so I don't suspect a syntax error.
Thanks,
James


-----Original Message-----
From: Evans, James R Civ USAF ACC 84 RADES/SCZE
Sent: Mon 4/22/2013 11:39 AM
To: Brent Fraser
Cc: ms4w-users at lists.maptools.org
Subject: RE: [MS4W-Users] MS4W under IIS?
 
Hi Brent,

Thanks for the response.  Here is the error we are getting:

 

 

Warning: ms_newMapObj(): [MapServer Error]: msLoadMap(): Parsing error near (IMAGEPATH):(line 8) in D:\ms4w\Apache\htdocs\quickmap.php on line 21

 

Fatal error: Uncaught exception 'MapScriptException' with message 'Failed to open map file "d:/ms4w/Apache/cgi-bin/servemap.map"' in D:\ms4w\Apache\htdocs\quickmap.php:21 Stack trace: #0 D:\ms4w\Apache\htdocs\quickmap.php(21): ms_newMapObj('d:/ms4w/Apache/...') #1 {main} thrown in D:\ms4w\Apache\htdocs\quickmap.php on line 21

PHP Warning: ms_newMapObj(): [MapServer Error]: msLoadMap(): Parsing error near (IMAGEPATH):(line 8) in D:\ms4w\Apache\htdocs\quickmap.php on line 21 PHP Fatal error: Uncaught exception 'MapScriptException' with message 'Failed to open map file "d:/ms4w/Apache/cgi-bin/servemap.map"' in D:\ms4w\Apache\htdocs\quickmap.php:21 Stack trace: #0 D:\ms4w\Apache\htdocs\quickmap.php(21): ms_newMapObj('d:/ms4w/Apache/...') #1 {main} thrown in D:\ms4w\Apache\htdocs\quickmap.php on line 21

 

 

We'll be taking a look through the permissions you mentioned.
Thanks,
James

 

 

 

-----Original Message-----
From: Brent Fraser [mailto:bfraser at geoanalytic.com] 
Sent: Friday, April 19, 2013 9:01 PM
To: Evans, James R Civ USAF ACC 84 RADES/SCZE
Cc: ms4w-users at lists.maptools.org
Subject: Re: [MS4W-Users] MS4W under IIS?

 

James,

 

   I see that the GeoMoose instructions don't mention permissions on the file system.  You need to set read access on the folder security where you have your map file stored, and write permissions on the "MS4W/tmp/ms_tmp".

These would be for the IUSER_<machine_name> account.

 

Best Regards,

Brent Fraser

 

On 4/19/2013 6:21 PM, James_in_Utah wrote:

> Well, we took our first stab at getting this running under IIS today.

> Everything seems to be configured correctly, but still can't get 

> quickmap.php to run.  We get an error saying it can't access the 

> servemap.map.  Probably a permission thing.  When I try accessing the 

> getcapabilities from another machine, it also complains about not 

> being able to read the servemap.map.  We'll have to pick up there on 

> monday.  Any hints on what we might have missed?

> Thanks,

> James

> 

> 

> 

> 

> --

> View this message in context: 

> http://osgeo-org.1560.x6.nabble.com/MS4W-under-IIS-tp5047438p5048378.h

> tml Sent from the ms4w-users mailing list archive at Nabble.com.

> _______________________________________________

> MS4W-Users mailing list

> MS4W-Users at lists.maptools.org

> http://lists.maptools.org/mailman/listinfo/ms4w-users

> 

 

 






More information about the MS4W-Users mailing list