<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I glad to know that it solved your problem, even with my poor cellphone typing. It seems like Windows doesn't detect that the oci.dll version/architecture is wrong and loads it with without a problem, but  when the GDAL driver try to call the OCI API to open a connection that error comes as a default. What is very misleading. It has nothing to deal with SID or the Listener setting.<br><br><div>> Date: Fri, 11 Apr 2014 12:08:35 +0200<br>> Subject: Re: [gdal-dev] [EXTERNAL] oci and oracle express 11<br>> From: landa.martin@gmail.com<br>> To: lucena_ivan@hotmail.com<br>> CC: mateusz@loskot.net; gdal-dev@lists.osgeo.org; michael.smith@erdc.dren.mil<br>> <br>> Hi all,<br>> <br>> 2014-04-11 4:00 GMT+02:00 Ivan Lucena <lucena_ivan@hotmail.com>:<br>> <br>> [...]<br>> <br>> > I know that is not the same situation you have, but when I need to run GDAL<br>> > build for Win32 on my Win64 machine I need to place an OCI.DLL from a<br>> > InstantClient-32 first on my PATH. Otherwise it will try to load the default<br>> > on DLL my system, that happens to a Win64 OCI.DLL.<br>> <br>> that was! When I removed oci.dll from c:\osgeo4w than it started magically work!<br>> <br>> ogrinfo -ro OCI:user/passwd<br>> <br>> Thanks for saving me from madness :-) Martin<br></div>                                     </div></body>
</html>