<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Database connection error:  SQL error 2- OCI returned error while connecting to an external oracle db in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972356#M3587601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/352297" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Magiap is the connection name, tns is sfa.dba.risogallo.it... I have just tried to tnsping sfa.dbsfa.risogallo.it .. what else could I check?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Dec 2013 22:03:19 GMT</pubDate>
    <dc:creator>former_member822355</dc:creator>
    <dc:date>2013-12-29T22:03:19Z</dc:date>
    <item>
      <title>Database connection error:  SQL error 2- OCI returned error while connecting to an external oracle db</title>
      <link>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaq-p/9972353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We must connect our SAP production system to an external oracle database that has the following characteristics: PARAMETER -------------------------------------------------- -------------- VALUE -------------------------------------------------- -------------- NLS_LANGUAGE AMERICAN NLS_TERRITORY AMERICA NLS_CHARACTERSET WE8ISO8859P15 ***************** We have configured the connection with the TCODE DB02 and we get the following connection error: "Errore -- ERROR Database connection "MAGIAP": SQL error 12737 ORA- 12737: Instant Client Light: unsupported server character set WE8ISO8859P15" We applied the following SAP notes: 808505 - Secondary connections to Oracle database 998004 - Update the Oracle Instant Client on Windows After applying this notes we reconfigured the connection parameters (tcode DB02) as follows: connection parameter: "SFA.DBSFA.risogallo.it:WE8ISO8859P15" we now have this connection error: -- ERROR Database connection MAGIAP: SQL error 2- OCI returned error code -2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 20:03:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaq-p/9972353</guid>
      <dc:creator>former_member822355</dc:creator>
      <dc:date>2013-12-29T20:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Database connection error:  SQL error 2- OCI returned error while connecting to an external oracle db</title>
      <link>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972354#M3587599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silvana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your details above , I assume that you are connecting to the database using tnsnames.ora&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your SAP system , can you test tnsping to the remote Oracle DB.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tnsping MAGIAP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand ,&amp;nbsp; you have upgraded your oracle instant&amp;nbsp; - after that you can use the connection as &lt;STRONG&gt;MGIAP&amp;nbsp; &lt;/STRONG&gt;as you were doing earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if I did not assume something correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rishi &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 21:49:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972354#M3587599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-29T21:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Database connection error:  SQL error 2- OCI returned error while connecting to an external oracle db</title>
      <link>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972355#M3587600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also from the initial part of the error description , it looks like that the issue is with the &lt;STRONG&gt;Oracle instant client light &lt;/STRONG&gt; present on the SAP System as it might not support the mentioned character-set of the remote system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try as per previous comment - and let us know.&amp;nbsp; You might want to upgrade the oracle client to the&lt;STRONG&gt; Oracle Instant Client Full &lt;/STRONG&gt; and then try .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rishi &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 21:58:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972355#M3587600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-29T21:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Database connection error:  SQL error 2- OCI returned error while connecting to an external oracle db</title>
      <link>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972356#M3587601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/352297" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Magiap is the connection name, tns is sfa.dba.risogallo.it... I have just tried to tnsping sfa.dbsfa.risogallo.it .. what else could I check?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 22:03:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972356#M3587601</guid>
      <dc:creator>former_member822355</dc:creator>
      <dc:date>2013-12-29T22:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Database connection error:  SQL error 2- OCI returned error while connecting to an external oracle db</title>
      <link>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972357#M3587602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please share the output of the TNSPING&amp;nbsp; to the connection &lt;STRONG&gt;sfa.dbsfa.risogallo.it&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also please share the tnsnames entry and the output from the above DB Connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rishi &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 22:29:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972357#M3587602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-29T22:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Database connection error:  SQL error 2- OCI returned error while connecting to an external oracle db</title>
      <link>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972358#M3587603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Can you share the tnsnames.ora file ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;RB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 23:09:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972358#M3587603</guid>
      <dc:creator>Reagan</dc:creator>
      <dc:date>2013-12-29T23:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Database connection error:  SQL error 2- OCI returned error while connecting to an external oracle db</title>
      <link>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972359#M3587604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/352377" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 23:16:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972359#M3587604</guid>
      <dc:creator>former_member822355</dc:creator>
      <dc:date>2013-12-29T23:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Database connection error:  SQL error 2- OCI returned error while connecting to an external oracle db</title>
      <link>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972360#M3587605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/352378" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 23:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972360#M3587605</guid>
      <dc:creator>former_member822355</dc:creator>
      <dc:date>2013-12-29T23:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Database connection error:  SQL error 2- OCI returned error while connecting to an external oracle db</title>
      <link>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972361#M3587606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/352379" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 23:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972361#M3587606</guid>
      <dc:creator>former_member822355</dc:creator>
      <dc:date>2013-12-29T23:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Database connection error:  SQL error 2- OCI returned error while connecting to an external oracle db</title>
      <link>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972362#M3587607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/352380" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 23:24:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972362#M3587607</guid>
      <dc:creator>former_member822355</dc:creator>
      <dc:date>2013-12-29T23:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Database connection error:  SQL error 2- OCI returned error while connecting to an external oracle db</title>
      <link>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972363#M3587608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached some informations... Tell me please if they area enough for your answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 23:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972363#M3587608</guid>
      <dc:creator>former_member822355</dc:creator>
      <dc:date>2013-12-29T23:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Database connection error:  SQL error 2- OCI returned error while connecting to an external oracle db</title>
      <link>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972364#M3587609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silvana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your screen shots ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from your SAP System -&amp;nbsp; are you able to normally logon to the Oracle Database using SQLPLUS utility from the command prompt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rishi &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 23:28:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-connection-error-sql-error-2-oci-returned-error-while-connecting/qaa-p/9972364#M3587609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-29T23:28:29Z</dc:date>
    </item>
  </channel>
</rss>

