[Mapserver-users] CGI Error - ANY GUESSES?

Brian Fischer bfischer at houstonengineeringinc.com
Thu Jun 19 10:57:11 PDT 2003


This is a multi-part message in MIME format.

------_=_NextPart_001_01C3368C.355E5D26
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I have seen this error when I forgot to copy some of the .dll files
mapserver requires into the system32 directory.  Hope this helps.

=20

Brian

=20

-----Original Message-----
From: Howard Mark [mailto:MHoward at spaceimaging.com]=20
Sent: Thursday, June 19, 2003 12:23 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] CGI Error - ANY GUESSES?

=20

I feel really stupid about this. I have a perfectly good mapserver
install on a W2K machine. I'm putting together another demo on a laptop
- same OS.

I copied everything I need to the new machine and have IIS running with
the same virtual directories and permissions.

I keep getting an error message running the app in a IE window.

=20

<<<<<<<<<

=20

CGI Error

The specified CGI application misbehaved by not returning a complete set
of HTTP headers. The headers it did return are:

=20

>>>>>>>>

=20

If I run the request on the command line - I get an HTML document just
fine and the map image is created as well.=20

=20

C:\>c:\Inetpub\Scripts\mapserv.exe
"QUERY_STRING=3Dmap=3DC:/inetpub/scripts/demosimple.map&layer=3Dcounty"

=20

Content-type: text/html

<!-- MapServer version 3.6.6-dev OUTPUT=3DGIF OUTPUT=3DPNG OUTPUT=3DJPEG
OUTPUT=3DWBMP SUPPORTS=3DPROJ SUPPORTS=3DTTF SUPPORTS=3DWMS_SERVER
SUPPORTS=3DWMS_CLIENT INPUT=3DEPPL7 IN

PUT=3DOGR INPUT=3DGDAL INPUT=3DSHAPEFILE -->

<html>

<head><title>MapServer Demo Interface</title></head>

<BODY BGCOLOR=3D"#C4D1DD">

<img SRC=3D"http:\\webgroup-lt\tmp\DEMO10560415982068.jpg" width=3D600
height=3D600 bo

rder=3D0>

</BODY>

</html>

=20

ANY IDEAS ????

=20

TIA=20

=20

Mark



************************************************************************
********
This message is intended only for the use of the Addressee and may
contain information that is PRIVILEGED and CONFIDENTIAL.

If you are not the intended recipient, you are hereby notified that any
dissemination of this communication is strictly prohibited. If you have
received this communication in error, please erase all copies of the
message and its attachments and notify Space Imaging immediately.
************************************************************************
********


------_=_NextPart_001_01C3368C.355E5D26
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Times New Roman";}
p.MsoToc1, li.MsoToc1, div.MsoToc1
	{margin-top:6.0pt;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:0in;
	margin-bottom:.0001pt;
	text-indent:.2in;
	font-size:12.0pt;
	font-family:"Times New Roman";
	font-weight:bold;
	font-style:italic;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Times New Roman";}
span.EmailStyle17
	{font-family:Arial;
	color:black;}
span.EmailStyle20
	{font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>I have seen this error when I =
forgot to
copy some of the .dll files mapserver requires into the system32 =
directory. 
Hope this helps.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Brian</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Howard Mark
[mailto:MHoward at spaceimaging.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Thursday, June 19, =
2003
12:23 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b>
mapserver-users at lists.gis.umn.edu<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> =
[Mapserver-users] CGI
Error - ANY GUESSES?</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Times New Roman"><span
style=3D'font-size:10.0pt'> </span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span style=3D'font-size:10.0pt'>I =
feel really
stupid about this. I have a perfectly good mapserver install on a W2K =
machine.
I’m putting together another demo on a laptop – same =
OS.</span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span style=3D'font-size:10.0pt'>I =
copied
everything I need to the new machine and have IIS running with the same =
virtual
directories and permissions.</span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span style=3D'font-size:10.0pt'>I =
keep getting an
error message running the app in a IE window.</span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'> </span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'><<<<<<<<<</span></f=
ont></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'> </span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span style=3D'font-size:10.0pt'>CGI =
Error</span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span style=3D'font-size:10.0pt'>The =
specified CGI
application misbehaved by not returning a complete set of HTTP headers. =
The
headers it did return are:</span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'> </span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'>>>>>>>>></span></font>=
</span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'> </span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span style=3D'font-size:10.0pt'>If =
I run the
request on the command line – I get an HTML document just fine and =
the
map image is created as well. </span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'> </span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'>C:\>c:\Inetpub\Scripts\mapserv.exe
"QUERY_STRING=3Dmap=3DC:/inetpub/scripts/demosimple.map&layer=3D=
county"</span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'> </span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'>Content-type: =
text/html</span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'><!-- MapServer
version 3.6.6-dev OUTPUT=3DGIF OUTPUT=3DPNG OUTPUT=3DJPEG OUTPUT=3DWBMP =
SUPPORTS=3DPROJ
SUPPORTS=3DTTF SUPPORTS=3DWMS_SERVER SUPPORTS=3DWMS_CLIENT INPUT=3DEPPL7 =
IN</span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'>PUT=3DOGR INPUT=3DGDAL
INPUT=3DSHAPEFILE --></span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'><html></span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'><head><title>MapServer
Demo Interface</title></head></span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'><BODY
BGCOLOR=3D"#C4D1DD"></span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'><img
SRC=3D"http:\\webgroup-lt\tmp\DEMO10560415982068.jpg" =
width=3D600
height=3D600 bo</span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'>rder=3D0></span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'></BODY></span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'></html></span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'> </span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span style=3D'font-size:10.0pt'>ANY =
IDEAS ????</span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'> </span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span style=3D'font-size:10.0pt'>TIA =
</span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'> </span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
class=3DEmailStyle17><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt'>Mark</span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'><br>
<br>
*************************************************************************=
*******<br>
This message is intended only for the use of the Addressee and may<br>
contain information that is PRIVILEGED and CONFIDENTIAL.<br>
<br>
If you are not the intended recipient, you are hereby notified that =
any<br>
dissemination of this communication is strictly prohibited. If you =
have<br>
received this communication in error, please erase all copies of the<br>
message and its attachments and notify Space Imaging immediately.<br>
*************************************************************************=
*******</span></font></p>

</div>

</body>

</html>
=00
------_=_NextPart_001_01C3368C.355E5D26--



More information about the MapServer-users mailing list