Hello All,

First I downloaded Oracle 10g client and using net manager successfully tested the connection with remote database.

The using Windows ODBC driver administrator, I added the client instance which I installed above and here also successfully tested the connection with remote Oracle database.

The I wrote a PERL script and tried to connect to same remote database with the help ODBC driver (DBI:ODBC:<ODBC_Instance_name> ) but I am getting following error:

DBI connect('OraClient10g_home2','testuser',...) failed: Specified driver could not be loaded due to system error 1114 (Oracle in OraClient10g_home2). (SQL-IM 003) at Test_DB.pl line 116 Could not connect to remote database - Specified driver could not be loaded due to system error 1114 (Oracle in OraClient10g_home2). (SQL-IM003)

Any pointers?


In reply to Connecting to Oracle Database using Perl & ODBC Driver. by paragkalra

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.