[mapserver-dev] Connection to Oracle Spatial 10.2.0.3

Flavio Hendry flavio at tydac.ch
Fri Sep 5 01:23:59 EDT 2008


Hi Cédric

Don't know if you are on Windows or Linux. On Windows, check for oci.dll
(probably in windows/system32) and ensure that it is the one of version
10.x.

See in x:\oracle\app\oracle\product\10.2.0\server\BIN for the correct file.

Mit freundlichem Gruss / Best Regards
Flavio Hendry

----------------------------------------------------------------
TYDAC Web-Site:  http://www.tydac.ch
TYDAC MapServer: http://www.mapserver.ch
TYDAC SwissMaps: http://www.mapplus.ch
----------------------------------------------------------------
############      Mit freundlichen Gruessen / Kind Regards
############             mailto:flavio at tydac.ch
############         TYDAC AG - http://www.tydac.ch
####    ####        Geographic Information Solutions
####    ####         Luternauweg 12 -- CH-3006 Bern
############   Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860
----------------------------------------------------------------
    Location: http://www.mapplus.ch/adr/bern/luternauweg/12
----------------------------------------------------------------


-----Original Message-----
From: Cedric Moullet <cedric.moullet at camptocamp.com>
To: mapserver-dev at lists.osgeo.org
Date: Thu, 04 Sep 2008 17:18:49 +0200
Subject: [mapserver-dev] Connection to Oracle Spatial 10.2.0.3

> Hi,
> After an Oracle database migration from 9.2.0.4 to 10.2.0.3,
> MapServer
> can't connect anymore to Oracle. The following error message appears:
> MapServer Error: Erorr in msDrawMap(): Failed to draw layer named
> 'myLayer'.
> Error in msOracleSpatialLayerOpen(): Cannot create OCI Handlers.
> Connection failure. Check the connection string.
> 
> OS: Windows 2000.
> 
> We have already tried a direct access (without service in CONNECTION,
> because MapServer and Oracle are on the same machine). Sqlplus
> connection works fine.
> 
> Any idea about how to solve the problem ?
> Thanks,
> Cédric Moullet
> 
> -- 
> Camptocamp SA
> Cédric Moullet
> PSE A
> CH-1015 Lausanne
> www.camptocamp.com  / www.cartoweb.org
> 
> +41 79 759 69 83 (mobile)
> +41 21 619 10 21 (direct)
> +41 21 619 10 10 (centrale)
> +41 21 619 10 00 (fax)
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev




More information about the mapserver-dev mailing list