[gdal-dev] GDAL/OGR to Oracle connect problems
Clay, Bruce
bclay at ball.com
Wed Jul 9 16:29:58 EDT 2008
I have an OGR application that runs fine on my development system. When
I moved the program to the target system I can not connect to the Oracle
database. The first round of problems seemed to be related to the
Visual Studio C++ redistributable files. After installing them, one of
the systems quit throwing exceptions but still won't connect and the
other systems continues to throw exceptions.
I am using Visual Studio 2005 C++ running on XP. I am using GDAL_1.5.2.
When I use OGR to connect I use the connection string
"OCI:username/Password at databaseInstance" as the OCI driver instructions
said to do.
My development system has the Oracle client tools but neither target
system do. How does OGR resolve the instance name to host and port? If
the client tools are installed there is a TNS name file that has this
information.
Does OGR require the Oracle client tools to be installed before it will
connect?
Bruce
This message and any enclosures are intended only for the addressee. Please
notify the sender by email if you are not the intended recipient. If you are
not the intended recipient, you may not use, copy, disclose, or distribute this
message or its contents or enclosures to any other person and any such actions
may be unlawful. Ball reserves the right to monitor and review all messages
and enclosures sent to or from this email address.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080709/df5093bf/attachment.html
More information about the gdal-dev
mailing list