[mapserver-users] error moving application from one box to another

Stephen Woodbridge woodbri at swoodbridge.com
Tue Jan 29 09:11:44 PST 2002


Andrea,

Check:

1) the the system paths are the same on both. MapServer using system
paths not web server document root relative paths.

2) make sure the IIS process has file read access to if.map and all
parent directories.

-Steve

Andrea Giacomelli wrote:
> 
> Hi,
> 
> We are moving a (very simple) test application from one server to
> another.
> 
> The application works perfectly on the first machine. From the second
> web server we get an error:
> 
> Warning: MapServer Error in msLoadMap(): (+):(39) in
> C:\mapserver\IF_HTDOCS\if.php on line 52
> 
> Fatal error: Failed to open map file if.map in
> C:\mapserver\IF_HTDOCS\if.php
> on line 52
> 
> The directory structure relative to the web server document root is the
> same, and the version of the various packages involved also (mapserver
> 3.4, mapscript, PHP etc).
> 
> The only difference is the OS NT (works) vs. 2000 (does not work).
> 
> It sounds to me like one of those simple but hard to spotconfiguration
> mistakes...any suggestions ?
> 
> TIA and regards,
> 
> --
> =========================================
> Andrea Giacomelli
> Centre for Advanced Studies, Research and
> Development in Sardinia
> 
> http://www.crs4.it/~andreag
> =========================================



More information about the MapServer-users mailing list