[MS4W-Users] Oracle Unable to open datasource
smercier at mapgears.com
Wed May 30 13:18:40 EST 2012
I try to connect "ogrinfo" and Oracle in my ms4w install directory and it
don't work? I still don't find out what's going on :-(
1) I use a the last ms4w 3.0.6 build.
2) I download the Oracle Instantclient 11.2.03 and set ORACLE_HOME. If I
try to connect via sqlplus, everything work fine (I also try with a
tnsnames.ora and work fine to)
C:\..\ms4w306>sqlplus dt/dr2011 at LC/GEOSID
SQL*Plus: Release 184.108.40.206.0 Production on Wed May 30 10:46:15 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Oracle Database 11g Enterprise Edition Release 220.127.116.11.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing
3) But for ogrinfo it just don't work. I moved the ogr_OCI.dll from
ignored path to /ms4w306/gdalplugins and set all Environment variables. A
formats option show that OCI driver is support:
-> "OCI" (read/write)
-> "ESRI Shapefile" (read/write)
-> "MapInfo File" (read/write)
-> "UK .NTF" (readonly)
C:\..\ms4w306>ogrinfo OCI:dt/dr2011 at LC/GEOSID
ERROR 1: in <unnamed>
Unable to open datasource `OCI:dt/dr2011 at LC/GEOSID' with the following
-> ESRI Shapefile
-> MapInfo File
-> UK .NTF
4) Same problem with mapserv and shp2img in my ms4w install dir. Where
should I look now to make it run ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MS4W-Users