[UMN_MAPSERVER-USERS] CGI Error - 4.4 Windows Binaries (Oracle, SDE, and others)

Fortin,Nicolas [SteFoy] nicolas.fortin at EC.GC.CA
Thu Dec 2 12:04:11 PST 2004


Hi Fernando and List,

I use an ASP page that call mapserver CGI with the correct mapfile.  I use mapserver html template to test my services. It's not query mode but simple GetMap requests.

One weird thing I saw with some testing :
If I ask for two layers, a raster and an oracle spatial one by example, all work fine and I get an image!
If I ask ONLY for oracle spatial layers (1 or more), I get the CGI error message...

So I think the problem is not really the connection cause the layer(s) appear when it's not alone and with another type of Data.

Calling mapserver directly with the usual parameter gives the same result.

What's wrong with this? If anybody could help me solve this...

What's FastCGI ?

Nicolas



-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la part de Fernando S.
Envoyé : Thursday, December 02, 2004 11:04 AM
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : Re: [UMN_MAPSERVER-USERS] RE : [UMN_MAPSERVER-USERS] RE : [UMN_MAPSERVER-USERS] 4.4 Windows Binaries (Oracle, SDE, and others)


Hi Nicolas,
     In this new version the connection string didn't changed.
     This error didin't occured here, if you will look the source code this message appear only when the mapserver didn't connected the Oracle. So, are you tried with FastCGI support? How are you call the mapserver (CGI)? Is it query mode?
    Thanks.

---------------------------------------------
Fernando Simon
Mapserver and Oracle Spatial developer
LCA - http://g10.cttmar.univali.br
---------------------------------------------



Fortin,Nicolas [SteFoy] wrote:

>Hi Fernando,
>
>Thanks for your quick answer...
>
>I used the exact same mapfile I used for my previous version of 
>mapserver.  It worked fine with this previous version. Here's the 
>mapserv-v output : MapServer version 4.4.0 OUTPUT=GIF OUTPUT=PNG 
>OUTPUT=JPEG OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE 
>SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER 
>SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER INPUT=POSTGIS 
>INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
>
>If I point directly to mapserver on the server I got the normal: No 
>query information to decode. QUERY_STRING not set.
>
>If I asked for a raster layer, I got it normally.
>
>It's only when I asked for an Oracle layer that I get the error 
>message. (We use Oracle 9.2.0.4 and 10g) Either the message from my 
>previous post or : Erreur CGI L'application CGI spécifiée a mal 
>fonctionné en ne renvoyant pas de jeu complet d'en-têtes HTTP. Les 
>en-têtes renvoyés sont :
>
>Do I have to change something in the mapfile!?
>
>Nicolas
>
>



More information about the MapServer-users mailing list