Hi Jeff,
 
thanks you for your feedback.
 
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:
http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/Demo/OracleTest.map&mode=map
 
hope this helps to find out the problem.
 
thanks again, I will try it with MS4W 1.5.3.
 
zhonghai

 
On 6/16/06, Fortin,Nicolas [SteFoy] <[EMAIL PROTECTED]> wrote:
I use Oracle10g but neither MS4W nor Apache.  I use IIS and my own compilation of mapserver.

Windows XP SP2
IIS 5.1
Mapserver 4.8.3 CVS from 2006-06-07
Oracle 10g 10.1.0.2

All works fine.

Nicolas




-----Message d'origine-----
De : UMN MapServer Users List [mailto: [email protected]] De la part de Rahkonen Jukka
Envoyé : 16 juin 2006 09:11
À : [email protected]
Objet : Re: [UMN_MAPSERVER-USERS] oracle spatial


Hi,

I have Oracle 9i and I have faced no problem.  Any happy 10g users out there?

-Jukka-




Lähettäjä: UMN MapServer Users List [mailto: [email protected]] Puolesta Zhonghai Wang
Lähetetty: 16. kesäkuuta 2006 15:43
Vastaanottaja: [email protected]
Aihe: Re: [UMN_MAPSERVER-USERS] oracle spatial


Hi there,

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:

[Fri Jun 16 14:38:55 2006] [error] [client 127.0.0.1] Premature end of script headers: mapserv.exe  -- this is the error message in the Apache error log file.

do anyone have any ideas?

BTW: my system info: WinXP, MS4W 2.0, Oracle 10g R2 Instant Client

the ogrinfo --formats that OCI is supported.

many thanks.

zhonghai


On 6/16/06, Lasse Korhonen < [EMAIL PROTECTED]> wrote:
Hi Daniel,

we're facing exactly the same problems you described. Swapping of dll-files
is enough to make previously working maps totally unfunctional. Maps based
on oracle spatial, shapefiles or MapInfo-files all give an Apache related
message "Internal Server Error". Last row in the error.log states "Premature
end of script headers: mapserv.exe".

I can get errors from MapServer if I break the syntax in map-file, and
mistakes in SQL-statements raise errors from Oracle (connection is fine?).
Therefore I believe the problem is not related to .map-files or database at
all.

I'm wondering if this strange behaviour is somehow related to "wrong"
software environment. So far we have tested following combinations with no
luck:

MS4W v1.5.4 & Windows NT 4.0 & remote Oracle 10g R2 database
MS4W v2.0 & Windows NT 4.0 & remote Oracle 10g R2 database
MS4W v1.5.4 & Windows 2003 Server & local Oracle 10g R2 database

Maybe Jukka could tell what operating system he had in his successful
installation?
--
View this message in context: http://www.nabble.com/oracle-spatial-t1774461.html#a4895493
Sent from the Mapserver - User forum at Nabble.com.

Reply via email to