[UMN_MAPSERVER-USERS] IIS Config problem

Fortin,Nicolas [SteFoy] nicolas.fortin at EC.GC.CA
Thu Feb 24 15:12:18 EST 2005


Hi

You got this error while running the demo!?

I sometimes got it when I call an Oracle Spatial layer alone.  Unfortunately I didn't find the source of it yet.

One thing I did to make sure it was not IIS's fault was to create gif from the mapfile with shp2img utility.

Example:
C:\>shp2img -m "C:\path\to\map\file.map" -o img1.gif -l [layer] 

Greetings
Nicolas

-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la part de V P
Envoyé : Thursday, February 24, 2005 3:02 PM
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : Re: [UMN_MAPSERVER-USERS] IIS Config problem


Hi. I ran the mapserv.exe from the Dos prompt. This is what it gave back..

'This script can only be used to decode form results and
should be initiated as a CGI process via a httpd server'

It seems to be working. I think.

As far as the dll's go, I specified the path for them in the PATH of the system environment. The path was set as c:\mapserver\bin. The proj folder was specified under a new variable called PROJ_LIB.. in the system environment as well.

I'm pretty sure I did everything correctly. Maybe I'm overlooking something very small.. Any more ideas? Thanks a great deal.



More information about the mapserver-users mailing list