<?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>topic Re: Connection to Oracle database failed, in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/connection-to-oracle-database-failed/m-p/10471#M554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: mousaem&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;first, you need to install Oracle Client on your machine (laptop) , depends on your database version if its 11g then install Oracle Client 11g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;after installing your Oracle Client, go to the directory where you can find &lt;/SPAN&gt;&lt;STRONG&gt;tnsnames.ora&lt;/STRONG&gt;&lt;SPAN&gt; file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;add the Oracle TNS entry in this file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second, go to cmd in your machine and type sqlplus&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then, type &lt;/SPAN&gt;&lt;STRONG&gt;sde@&lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;your database TNS definition&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;then password&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as melanie mentioned you can use tnsping command with your oracle database, the output put it in the tnsnames.ora file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ask your DBA about it......&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="text-decoration: underline;"&gt;here is a references:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/A_quick_tour_of_setting_up_a_geodatabase_in_Oracle/002n00000001000000/" rel="nofollow"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/A_quick_tour_of_setting_up_a_geodatabase_in_Oracle/002n00000001000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Database Connection using ArcCatalog 10.1 :&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Geodatabase_connections_in_ArcGIS_Desktop/002n00000030000000/" rel="nofollow"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Geodatabase_connections_in_ArcGIS_Desktop/002n00000030000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Dec 2012 13:02:41 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2012-12-28T13:02:41Z</dc:date>
    <item>
      <title>Connection to Oracle database failed,</title>
      <link>https://community.esri.com/t5/data-management-questions/connection-to-oracle-database-failed/m-p/10468#M551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Original User: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:Jamal432@gmail.com"&gt;Jamal432@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Connection to Oracle database failed,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created an enterprise oracle database and tried to connect to it but sounds not to work. I got the message shown in the screenshot below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]19984[/ATTACH], [ATTACH=CONFIG]19985[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What might be the reason?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Dec 2012 15:44:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connection-to-oracle-database-failed/m-p/10468#M551</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-12-16T15:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to Oracle database failed,</title>
      <link>https://community.esri.com/t5/data-management-questions/connection-to-oracle-database-failed/m-p/10469#M552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: MelanieWhite&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Jamal,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please consider the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use Tnsping to insure that you can connect from to the listener.&amp;nbsp; If you do not get a response, restart your listener.&amp;nbsp; If you do, insure that you can connect to your Oracle instance using SQLPlus.&amp;nbsp; If you can connect using SQL plus, there might be something wrong with your connections parameters.&amp;nbsp; Do you have the correct server\instance name?&amp;nbsp; Have you tried using a full Oracle client?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Melanie &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 18:01:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connection-to-oracle-database-failed/m-p/10469#M552</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-12-21T18:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to Oracle database failed,</title>
      <link>https://community.esri.com/t5/data-management-questions/connection-to-oracle-database-failed/m-p/10470#M553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Jamal,&lt;BR /&gt;&lt;BR /&gt;Please consider the following:&lt;BR /&gt;&lt;BR /&gt;Use Tnsping to insure that you can connect from to the listener.&amp;nbsp; If you do not get a response, restart your listener.&amp;nbsp; If you do, insure that you can connect to your Oracle instance using SQLPlus.&amp;nbsp; If you can connect using SQL plus, there might be something wrong with your connections parameters.&amp;nbsp; Do you have the correct server\instance name?&amp;nbsp; Have you tried using a full Oracle client?&lt;BR /&gt;&lt;BR /&gt;Melanie &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the answer Melanie&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I�??m very new to this area of application. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� I don�??t know what the �??Tnsping�?� is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� I don�??t know how to start the �??listener�?�&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� I�??m trying this connection from my machine (mylaptop) and the data is on my machine as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� How about the �??full Oracle client�?�? is it for free?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2012 20:42:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connection-to-oracle-database-failed/m-p/10470#M553</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2012-12-24T20:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to Oracle database failed,</title>
      <link>https://community.esri.com/t5/data-management-questions/connection-to-oracle-database-failed/m-p/10471#M554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: mousaem&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;first, you need to install Oracle Client on your machine (laptop) , depends on your database version if its 11g then install Oracle Client 11g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;after installing your Oracle Client, go to the directory where you can find &lt;/SPAN&gt;&lt;STRONG&gt;tnsnames.ora&lt;/STRONG&gt;&lt;SPAN&gt; file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;add the Oracle TNS entry in this file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second, go to cmd in your machine and type sqlplus&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then, type &lt;/SPAN&gt;&lt;STRONG&gt;sde@&lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;your database TNS definition&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;then password&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as melanie mentioned you can use tnsping command with your oracle database, the output put it in the tnsnames.ora file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ask your DBA about it......&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="text-decoration: underline;"&gt;here is a references:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/A_quick_tour_of_setting_up_a_geodatabase_in_Oracle/002n00000001000000/" rel="nofollow"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/A_quick_tour_of_setting_up_a_geodatabase_in_Oracle/002n00000001000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Database Connection using ArcCatalog 10.1 :&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Geodatabase_connections_in_ArcGIS_Desktop/002n00000030000000/" rel="nofollow"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Geodatabase_connections_in_ArcGIS_Desktop/002n00000030000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2012 13:02:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connection-to-oracle-database-failed/m-p/10471#M554</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-12-28T13:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to Oracle database failed,</title>
      <link>https://community.esri.com/t5/data-management-questions/connection-to-oracle-database-failed/m-p/10472#M555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Hi,&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;first, you need to install Oracle Client on your machine (laptop) , depends on your database version if its 11g then install Oracle Client 11g.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;after installing your Oracle Client, go to the directory where you can find&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;tnsnames.ora&lt;/STRONG&gt; file&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;add the Oracle TNS entry in this file.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;Second, go to cmd in your machine and type sqlplus&amp;nbsp; &lt;BR /&gt;then, type&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;sde@&lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;your database TNS definition&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;BR /&gt;then password&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;as melanie mentioned you can use tnsping command with your oracle database, the output put it in the tnsnames.ora file.&amp;nbsp; &lt;BR /&gt;Ask your DBA about it......&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; &lt;STRONG style="text-decoration: underline;"&gt;here is a references:&lt;/STRONG&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/A_quick_tour_of_setting_up_a_geodatabase_in_Oracle/002n00000001000000/" rel="nofollow"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/A_quick_tour_of_setting_up_a_geodatabase_in_Oracle/002n00000001000000/&lt;/A&gt; &lt;BR /&gt; &lt;BR /&gt;Database Connection using ArcCatalog 10.1 :&amp;nbsp; &lt;BR /&gt; &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Geodatabase_connections_in_ArcGIS_Desktop/002n00000030000000/" rel="nofollow"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Geodatabase_connections_in_ArcGIS_Desktop/002n00000030000000/&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Emad for the answer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Iâ??ll try it and hopefully it will work&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2012 16:57:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connection-to-oracle-database-failed/m-p/10472#M555</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2012-12-28T16:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to Oracle database failed,</title>
      <link>https://community.esri.com/t5/data-management-questions/connection-to-oracle-database-failed/m-p/10473#M556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Hi,&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;first, you need to install Oracle Client on your machine (laptop) , depends on your database version if its 11g then install Oracle Client 11g.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;after installing your Oracle Client, go to the directory where you can find&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;tnsnames.ora&lt;/STRONG&gt; file&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;add the Oracle TNS entry in this file.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;Second, go to cmd in your machine and type sqlplus&amp;nbsp; &lt;BR /&gt;then, type&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;sde@&lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;your database TNS definition&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;BR /&gt;then password&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;as melanie mentioned you can use tnsping command with your oracle database, the output put it in the tnsnames.ora file.&amp;nbsp; &lt;BR /&gt;Ask your DBA about it......&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; &lt;STRONG style="text-decoration: underline;"&gt;here is a references:&lt;/STRONG&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/A_quick_tour_of_setting_up_a_geodatabase_in_Oracle/002n00000001000000/" rel="nofollow"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/A_quick_tour_of_setting_up_a_geodatabase_in_Oracle/002n00000001000000/&lt;/A&gt; &lt;BR /&gt; &lt;BR /&gt;Database Connection using ArcCatalog 10.1 :&amp;nbsp; &lt;BR /&gt; &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Geodatabase_connections_in_ArcGIS_Desktop/002n00000030000000/" rel="nofollow"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Geodatabase_connections_in_ArcGIS_Desktop/002n00000030000000/&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got a help from an expert.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Oracle database X64 server must be installed on the server machine&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Oracle database X32 client must be installed on the server machine and other client machines&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Make sure that the â??Oracle home directoryâ?� is pointing to C:\app\jamal\product\11.2.0\dbhome_1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]28467[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Access folders below and ensure that the two files below include to the correct server machine name&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tnsnames.ora&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;listener.ora&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]28468[/ATTACH], [ATTACH=CONFIG]28469[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Copy the tnsnames.ora from C:\app\jamal\product\11.2.0\dbhome_1\NETWORK\ADMIN to the C:\app\jamal\product\11.2.0\client_1\NETWORK\ADMIN&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]28470[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Now, the oracle database can be accessed from the ArcGIS with no problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; [ATTACH=CONFIG]28471[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 11:12:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connection-to-oracle-database-failed/m-p/10473#M556</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2013-10-19T11:12:34Z</dc:date>
    </item>
  </channel>
</rss>

