[Mapserver-users] Problem out of my control...

nicolas.fortin at ec.gc.ca nicolas.fortin at ec.gc.ca
Mon Dec 1 14:38:48 EST 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3B842.BDE3C880
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thx for your answer, see below:

-----Message d'origine-----
De : Swaminathan, Gayathri [mailto:gayathri at ou.edu]=20
Envoy=E9 : Monday, December 01, 2003 2:22 PM
=C0 : 'nicolas.fortin at ec.gc.ca'; mapserver-users at lists.gis.umn.edu
Objet : RE: [Mapserver-users] Problem out of my control...


Nicolas,
=20
Need some more information. Try or have your IT guy try the following.
=20
1) Have him go command prompt and try doing "mapserv.exe" under your =
cgi-bin
folder? What response do you have?=20
=20
As an admin, he got the usual :
This script can only be used to decode form results and=20

should be initiated as a CGI process via a httpd server. =20

But as a normal user via Terminal Service I got an application failed =
to
initialize.=20
=20
2) Try doing "mapserv.exe  -v"  at command prompt under cgi-bin...what =
do
you get here?
=20
Same as 1), as an admin he got the usual :
MapServer version 4.0 OUTPUT=3DGIF OUTPUT=3DPNG OUTPUT=3DJPEG =
OUTPUT=3DWBMP
OUTPUT=3DPDF OUTPUT=3DSWF SUPPORTS=3DPROJ SUPPORTS=3DFREETYPE =
SUPPORTS=3DWMS_SERVER
SUPPORTS=3DWMS_CLIENT SUPPORTS=3DWFS_SERVER SUPPORTS=3DWFS_CLIENT =
INPUT=3DEPPL7
INPUT=3DORACLESPATIAL INPUT=3DOGR INPUT=3DGDAL INPUT=3DSHAPEFILE

But as a normal user via Terminal Service I got an application failed =
to
initialize
=20
Are you sure all the dlls are in a findable place <windows system =
directory>
and registered correctly?=20
=20
He add C:\Mapserver\lib to the system PATH=20
I'll ask him to verify about the correct registering.
=20
What version of mapserver is there? What are all the supporting =
libraries?=20
=20
Mapserver 4.0 with Oracle support.  Oracle client is correctly install =
and
tested on the server.=20
=20
What is the permission on the cgi-bin virtual directory under IIS? =20
=20
Scripts and Executable=20
=20
Did the IT person register all supporting dlls too?=20
=20
I hope so...=20
=20
By the time i reply to you, I just received an e-mail form him...the
mapserv.exe was rejected by URLScan ... DOH!!
Beware all windows users ... too much security is bad :p
=20
Let me know how goes it.
Thanks
Gayathri
=20

-----Original Message-----
From: nicolas.fortin at ec.gc.ca [mailto:nicolas.fortin at ec.gc.ca]=20
Sent: Monday, December 01, 2003 1:05 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Problem out of my control...


Hi,
=20
I got Mapserver to works perfectly on my workstation (intranet) and I =
want
to make it works on our internet server.  I'm not admin on this server =
and I
have almost no right on it.  The IT guy install it with my instruction =
(the
same I use on my workstation) and mapserver dosen't work at all. All =
the
permissions are ok (execute on IIS and read/read-execute on windows for
mapserv.exe) but if I point to http://ourserver/cgi-bin/mapserv.exe
<http://ourserver/cgi-bin/mapserv.exe>  I got a Page not found!!  The =
link
is right cause I put a junk page there and I can see it.
=20
We are on Windows 2000 server with IIS
=20
Any suggestions?

Nicolas Fortin=20
Math=E9maticien, Programmeur, Analyste de donn=E9es=20
SMC-Qu=E9bec Hydrologie, Environnement Canada=20
1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V 4H5=20
(418)648-2516=20
nicolas.fortin at ec.gc.ca <mailto:nicolas.fortin at ec.gc.ca
<mailto:nicolas.fortin at ec.gc.ca> >=20

=20


------_=_NextPart_001_01C3B842.BDE3C880
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D034382819-01122003><FONT face=3DArial =
color=3D#0000ff size=3D2>Thx=20
for your answer, see below:</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Dfr dir=3Dltr =
align=3Dleft><FONT face=3DTahoma=20
  size=3D2>-----Message d'origine-----<BR><B>De&nbsp;:</B> Swaminathan, =
Gayathri=20
  [mailto:gayathri at ou.edu] <BR><B>Envoy=E9&nbsp;:</B> Monday, December =
01, 2003=20
  2:22 PM<BR><B>=C0&nbsp;:</B> 'nicolas.fortin at ec.gc.ca';=20
  mapserver-users at lists.gis.umn.edu<BR><B>Objet&nbsp;:</B> RE: =
[Mapserver-users]=20
  Problem out of my control...<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Nicolas,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#0000ff size=3D2>Need=20
  some more information. Try or have your IT guy try the=20
  following.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
  size=3D2>1) Have him go command prompt and try doing "mapserv.exe" =
under your=20
  cgi-bin folder? What response do you have?<SPAN=20
  =
class=3D034382819-01122003>&nbsp;</SPAN></FONT></FONT></FONT></SPAN></DI=
V>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
  size=3D2><SPAN=20
  =
class=3D034382819-01122003></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DI=
V>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT><FONT =
color=3D#ff0000=20
  size=3D2><SPAN class=3D034382819-01122003>As an admin, he =
got&nbsp;the usual=20
  :</SPAN></FONT></FONT></FONT></SPAN></DIV><SPAN =
class=3D515072119-01122003><FONT=20
  face=3DArial><FONT color=3D#0000ff><SPAN class=3D034382819-01122003>
  <P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt 35.4pt"><SPAN =
lang=3DEN-US=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-ansi-language: EN-US"><FONT=20
  color=3D#ff0000>This script can only be used to decode form results =
and=20
  <?xml:namespace prefix =3D o ns =3D =
"urn:schemas-microsoft-com:office:office"=20
  /><o:p></o:p></FONT></SPAN></P>
  <P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt 35.4pt"><FONT=20
  color=3D#ff0000><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-ansi-language: EN-US">should=20
  be initiated as a CGI process via a httpd server.<FONT =
face=3DArial><SPAN=20
  class=3D034382819-01122003>&nbsp;</SPAN></FONT></SPAN><SPAN =
lang=3DEN-US=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-ansi-language: EN-US"><FONT=20
  face=3DArial><SPAN=20
  =
class=3D034382819-01122003>&nbsp;</SPAN><o:p></o:p></FONT></SPAN></FONT>=
</P>
  <DIV><FONT size=3D2><FONT color=3D#ff0000><SPAN =
class=3D034382819-01122003>But as a=20
  normal user via&nbsp;Terminal Service I got an application failed to=20
  initialize.</SPAN>&nbsp;</FONT></FONT></DIV>
  <DIV><FONT size=3D2></FONT></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#0000ff size=3D2>2)=20
  Try doing "mapserv.exe &nbsp;-v"&nbsp; at command prompt under =
cgi-bin...what=20
  do you get here?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D515072119-01122003><SPAN =
class=3D034382819-01122003><FONT=20
  face=3DArial color=3D#ff0000 size=3D2>Same as 1), as an admin he got =
the usual=20
  :</FONT></SPAN></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><SPAN =
class=3D034382819-01122003>
  <P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt 35.4pt"><SPAN =
lang=3DEN-US=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-ansi-language: EN-US"><FONT=20
  color=3D#ff0000>MapServer version 4.0 OUTPUT=3DGIF OUTPUT=3DPNG =
OUTPUT=3DJPEG=20
  OUTPUT=3DWBMP OUTPUT=3DPDF OUTPUT=3DSWF SUPPORTS=3DPROJ =
SUPPORTS=3DFREETYPE=20
  SUPPORTS=3DWMS_SERVER SUPPORTS=3DWMS_CLIENT SUPPORTS=3DWFS_SERVER=20
  SUPPORTS=3DWFS_CLIENT INPUT=3DEPPL7 INPUT=3DORACLESPATIAL INPUT=3DOGR =
INPUT=3DGDAL=20
  INPUT=3DSHAPEFILE<o:p></o:p></FONT></SPAN></P></SPAN></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003></SPAN><SPAN=20
  class=3D515072119-01122003><FONT face=3DArial color=3D#ff0000 =
size=3D2><SPAN=20
  class=3D034382819-01122003>But as a normal user via&nbsp;Terminal =
Service I got=20
  an application failed to initialize</SPAN></FONT></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
  size=3D2>Are you sure all the dlls are in a findable place =
&lt;windows system=20
  directory&gt; and registered correctly?<SPAN=20
  =
class=3D034382819-01122003>&nbsp;</SPAN></FONT></FONT></FONT></SPAN></DI=
V>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
  size=3D2><SPAN=20
  =
class=3D034382819-01122003></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DI=
V>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT><FONT =
color=3D#ff0000=20
  size=3D2><SPAN class=3D034382819-01122003>He&nbsp;add =
C:\Mapserver\lib to=20
  the&nbsp;system PATH&nbsp;</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT><FONT =
color=3D#ff0000=20
  size=3D2><SPAN class=3D034382819-01122003>I'll ask him to verify =
about the correct=20
  registering.</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
  size=3D2>What version of mapserver is there? What are all the =
supporting=20
  libraries?<SPAN=20
  =
class=3D034382819-01122003>&nbsp;</SPAN></FONT></FONT></FONT></SPAN></DI=
V>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
  size=3D2><SPAN=20
  =
class=3D034382819-01122003></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DI=
V>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT><FONT =
color=3D#ff0000=20
  size=3D2><SPAN class=3D034382819-01122003>Mapserver 4.0 with Oracle =
support.&nbsp;=20
  Oracle client&nbsp;is correctly install and tested on the=20
  server.&nbsp;</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#ff0000=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
  size=3D2>What is the permission on the cgi-bin virtual directory =
under=20
  IIS?&nbsp;<SPAN=20
  =
class=3D034382819-01122003>&nbsp;</SPAN></FONT></FONT></FONT></SPAN></DI=
V>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
  size=3D2><SPAN=20
  =
class=3D034382819-01122003></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DI=
V>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT><FONT =
color=3D#ff0000=20
  size=3D2><SPAN class=3D034382819-01122003>Scripts and=20
  Executable&nbsp;</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
  size=3D2>Did the IT person register all supporting dlls too?<SPAN=20
  =
class=3D034382819-01122003>&nbsp;</SPAN></FONT></FONT></FONT></SPAN></DI=
V>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
  size=3D2><SPAN=20
  =
class=3D034382819-01122003></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DI=
V>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
  size=3D2><SPAN class=3D034382819-01122003><FONT color=3D#ff0000>I =
hope=20
  so...</FONT>&nbsp;</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
  color=3D#ff0000 size=3D2><SPAN=20
  =
class=3D034382819-01122003></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DI=
V>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
  color=3D#ff0000 size=3D2><SPAN class=3D034382819-01122003>By the time =
i reply to=20
  you, I just received an e-mail form him...the mapserv.exe was =
rejected by=20
  URLScan ... DOH!!</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
  color=3D#ff0000 size=3D2><SPAN class=3D034382819-01122003>Beware all =
windows users=20
  ... too much security is bad =
:p</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#0000ff size=3D2>Let=20
  me know how goes it.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Thanks</FONT></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Gayathri</FONT></SPAN></DIV>
  <DIV><SPAN class=3D515072119-01122003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
    <DIV></DIV>
    <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
    face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20
    nicolas.fortin at ec.gc.ca [mailto:nicolas.fortin at ec.gc.ca] =
<BR><B>Sent:</B>=20
    Monday, December 01, 2003 1:05 PM<BR><B>To:</B>=20
    mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> =
[Mapserver-users]=20
    Problem out of my control...<BR><BR></FONT></DIV>
    <DIV><SPAN class=3D890263818-01122003><FONT face=3DArial=20
    size=3D2>Hi,</FONT></SPAN></DIV>
    <DIV><SPAN class=3D890263818-01122003><FONT face=3DArial=20
    size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=3D890263818-01122003><FONT face=3DArial size=3D2>I =
got Mapserver=20
    to works perfectly on my workstation (intranet)&nbsp;and I want to =
make it=20
    works on our internet server.&nbsp; I'm not admin on this server =
and I have=20
    almost no right on it.&nbsp; The IT guy install it with my =
instruction (the=20
    same I use on my workstation) and mapserver dosen't work at =
all.&nbsp;All=20
    the permissions are ok (execute on IIS and read/read-execute on =
windows for=20
    mapserv.exe) but if I point to <A=20
    =
href=3D"http://ourserver/cgi-bin/mapserv.exe">http://ourserver/cgi-bin/m=
apserv.exe</A>=20
    I got a Page not found!!&nbsp; The link is right cause I put a junk =
page=20
    there and I can see it.</FONT></SPAN></DIV>
    <DIV><SPAN class=3D890263818-01122003><FONT face=3DArial=20
    size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=3D890263818-01122003><FONT face=3DArial =
size=3D2>We are on=20
    Windows 2000 server with IIS</FONT></SPAN></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><SPAN class=3D890263818-01122003><FONT face=3DArial =
size=3D2>Any=20
    suggestions?</FONT></SPAN></DIV>
    <P><B><I><FONT face=3D"Bookman Old Style" color=3D#000080 =
size=3D2>Nicolas=20
    Fortin</FONT></I></B><I></I> <BR><B><FONT face=3DArial =
size=3D1>Math=E9maticien,=20
    Programmeur, Analyste de donn=E9es</FONT></B> <BR><B><FONT =
face=3DArial=20
    size=3D1>SMC-Qu=E9bec Hydrologie, Environnement Canada</FONT></B> =
<BR><B><FONT=20
    face=3DArial size=3D1>1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V =
4H5</FONT></B>=20
    <BR><B><FONT face=3DArial size=3D1>(418)648-2516</FONT></B> =
<BR><U><FONT=20
    face=3DArial color=3D#0000ff size=3D1>nicolas.fortin at ec.gc.ca =
&lt;<A=20
    =
href=3D"mailto:nicolas.fortin at ec.gc.ca">mailto:nicolas.fortin at ec.gc.ca</=
A>&gt;</FONT></U>=20
    </P>
    <DIV>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C3B842.BDE3C880--



More information about the mapserver-users mailing list