<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>What I am trying to do:</b> Add a vector layer from an remote Oracle database.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Description:<o:p></o:p></p>
<p class="MsoNormal">I tried to add a vector layer using ODBC connectivity to an Oracle database on QGIS 2.8.2.<o:p></o:p></p>
<p class="MsoNormal">Add vector Layer<o:p></o:p></p>
<p class="MsoNormal">Choose Database<o:p></o:p></p>
<p class="MsoNormal">Type ODBC<o:p></o:p></p>
<p class="MsoNormal">Click New<o:p></o:p></p>
<p class="MsoNormal">I filled the form as:<o:p></o:p></p>
<p class="MsoNormal">Type ODBC<o:p></o:p></p>
<p class="MsoNormal">Name: myODBCConnection<o:p></o:p></p>
<p class="MsoNormal">Host: ssfdata<o:p></o:p></p>
<p class="MsoNormal">Database: CAAR<o:p></o:p></p>
<p class="MsoNormal">Port: 1521<o:p></o:p></p>
<p class="MsoNormal">Username: USER<o:p></o:p></p>
<p class="MsoNormal">Password: PASS<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When I clicked Test Connection I got: <o:p></o:p></p>
<p class="MsoNormal"><b><span style="color:red">Connection failed – Check settings and try again<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="color:red"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="color:red">Extended error information:<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="color:red">Unable to initialize ODBC connection to DSN for USER/PASS@CAAR,<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="color:red">[unixODBC][Driver Manager] Datasource name not found, and no default driver specified<o:p></o:p></span></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I opened a terminal window and I typed:<o:p></o:p></p>
<p class="MsoNormal">Isql –v caarODBC<o:p></o:p></p>
<p class="MsoNormal">I was able to connect to my database <o:p></o:p></p>
<p class="MsoNormal">+------------------------+<o:p></o:p></p>
<p class="MsoNormal">| Connected            |<o:p></o:p></p>
<p class="MsoNormal">|                              |<o:p></o:p></p>
<p class="MsoNormal">| sql –statement     |<o:p></o:p></p>
<p class="MsoNormal">| help [tablename] |<o:p></o:p></p>
<p class="MsoNormal">| quit                       |<o:p></o:p></p>
<p class="MsoNormal">+------------------------+<o:p></o:p></p>
<p class="MsoNormal">SQL><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So the unixODBC driver works for the database but QGIS is not able to access via ODBC.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is any special settings related qgis to make ODBC working?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<br>
marian<o:p></o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This electronic message, as well as any transmitted files included in the electronic message, may contain privileged or confidential information and is intended solely for the use of the individual(s) or entity to which
 it is addressed. If you have received this electronic message in error please notify the sender immediately and delete the electronic message. Any unauthorized copying, disclosure or distribution of the electronic message is strictly forbidden. NAV CANADA
 accepts no liability for any damage caused by any virus and/or other malicious code transmitted by this electronic communication.<br>
<br>
Le présent message électronique et tout fichier qui peut y être joint peuvent contenir des renseignements privilégiés ou confidentiels destinés à l’usage exclusif des personnes ou des organismes à qui ils s’adressent. Si vous avez reçu ce message électronique
 par erreur, veuillez en informer l’expéditeur immédiatement et supprimez le. Toute reproduction, divulgation ou distribution du présent message électronique est strictement interdite. NAV CANADA n’assume aucune responsabilité en cas de dommage causé par tout
 virus ou autre programme malveillant transmis par ce message électronique.<br>
</font>
</body>
</html>