<div>Hi Jeff,</div>
<div>&nbsp;</div>
<div>thanks you for your feedback.</div>
<div>&nbsp;</div>
<div>I tried with the command shp2img, both CONNECTTYPEs work well: OracleSpaital and OCI, the error only occurs with the HTTP request--I am using the CGI mode:</div>
<div><a href="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/Demo/OracleTest.map&amp;mode=map">http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/Demo/OracleTest.map&amp;mode=map</a></div>
<div>&nbsp;</div>
<div>hope this helps to find out the problem.</div>
<div>&nbsp;</div>
<div>thanks again, I will try it with MS4W 1.5.3.</div>
<div>&nbsp;</div>
<div>zhonghai<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 6/16/06, <b class="gmail_sendername">Fortin,Nicolas [SteFoy]</b> &lt;<a href="mailto:nicolas.fortin@ec.gc.ca">nicolas.fortin@ec.gc.ca</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I use Oracle10g but neither MS4W nor Apache.&nbsp;&nbsp;I use IIS and my own compilation of mapserver.<br><br>Windows XP SP2
<br>IIS 5.1<br>Mapserver 4.8.3 CVS from 2006-06-07<br>Oracle 10g <a href="http://10.1.0.2">10.1.0.2</a><br><br>All works fine.<br><br>Nicolas<br><br><br><br><br>-----Message d'origine-----<br>De : UMN MapServer Users List [mailto:
<a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</a>] De la part de Rahkonen Jukka<br>Envoyé : 16 juin 2006 09:11<br>À : <a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU
</a><br>Objet : Re: [UMN_MAPSERVER-USERS] oracle spatial<br><br><br>Hi,<br><br>I have Oracle 9i and I have faced no problem.&nbsp;&nbsp;Any happy 10g users out there?<br><br>-Jukka-<br><br><br><br><br>Lähettäjä: UMN MapServer Users List [mailto:
<a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</a>] Puolesta Zhonghai Wang<br>Lähetetty: 16. kesäkuuta 2006 15:43<br>Vastaanottaja: <a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU
</a><br>Aihe: Re: [UMN_MAPSERVER-USERS] oracle spatial<br><br><br>Hi there,<br><br>I am now facing the same problem now, after the DLL swapping according to the read-me file, the other old MapServer projects do not work any more, even under the CGI mode, and the error message looks like:
<br><br>[Fri Jun 16 14:38:55 2006] [error] [client <a href="http://127.0.0.1">127.0.0.1</a>] Premature end of script headers: mapserv.exe&nbsp;&nbsp;-- this is the error message in the Apache error log file.<br><br>do anyone have any ideas?
<br><br>BTW: my system info: WinXP, MS4W 2.0, Oracle 10g R2 Instant Client<br><br>the ogrinfo --formats that OCI is supported.<br><br>many thanks.<br><br>zhonghai<br><br><br>On 6/16/06, Lasse Korhonen &lt;<a href="mailto:lasse.korhonen@kokkola.fi">
lasse.korhonen@kokkola.fi</a>&gt; wrote:<br>Hi Daniel,<br><br>we're facing exactly the same problems you described. Swapping of dll-files<br>is enough to make previously working maps totally unfunctional. Maps based<br>on oracle spatial, shapefiles or MapInfo-files all give an Apache related
<br>message &quot;Internal Server Error&quot;. Last row in the error.log states &quot;Premature<br>end of script headers: mapserv.exe&quot;.<br><br>I can get errors from MapServer if I break the syntax in map-file, and<br>
mistakes in SQL-statements raise errors from Oracle (connection is fine?).<br>Therefore I believe the problem is not related to .map-files or database at<br>all.<br><br>I'm wondering if this strange behaviour is somehow related to &quot;wrong&quot;
<br>software environment. So far we have tested following combinations with no<br>luck:<br><br>MS4W v1.5.4 &amp; Windows NT 4.0 &amp; remote Oracle 10g R2 database<br>MS4W v2.0 &amp; Windows NT 4.0 &amp; remote Oracle 10g R2 database
<br>MS4W v1.5.4 &amp; Windows 2003 Server &amp; local Oracle 10g R2 database<br><br>Maybe Jukka could tell what operating system he had in his successful<br>installation?<br>--<br>View this message in context: <a href="http://www.nabble.com/oracle-spatial-t1774461.html#a4895493">
http://www.nabble.com/oracle-spatial-t1774461.html#a4895493</a><br>Sent from the Mapserver - User forum at <a href="http://Nabble.com">Nabble.com</a>.<br></blockquote></div><br>