<?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 Error:The type initializer for 'Oracle.DataAccess.Client.OracleConnection' thrown in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-the-type-initializer-for-oracle-dataaccess/m-p/116278#M4565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am developing custom geoprocessing tool (class-library project) on ArcGIS 10.2. This project uses Oracle.DatAccess from C:\Oracle\product\10.2.0\client_32\ODP.NET\bin\1.x . This is a simple tool which queries oracle 10g database and returns a distinct records from a table. This tool is working fine from tool box but when this tool is published in REST, it throws Oracle type initialize exception on line&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Connection = new OracleConnection(constr);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;ArcGIS server 10.2, Visual Studio 2012.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Server: Windows 2012 64bit OS&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Oracle client : installed both oracle 32 and oracle 64bit (C:\oracle\product\10.2.0\Client_32, C:\oracle\product\10.2.0\Client_64)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;PATH: c:\oracle\product\10.2.0\client_64\bin;c:\oracle\product\10.2.0\client_32\bin;&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;Any clues on this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2014 16:29:12 GMT</pubDate>
    <dc:creator>LakshmananVenkatesan</dc:creator>
    <dc:date>2014-04-02T16:29:12Z</dc:date>
    <item>
      <title>Error:The type initializer for 'Oracle.DataAccess.Client.OracleConnection' thrown</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-the-type-initializer-for-oracle-dataaccess/m-p/116278#M4565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am developing custom geoprocessing tool (class-library project) on ArcGIS 10.2. This project uses Oracle.DatAccess from C:\Oracle\product\10.2.0\client_32\ODP.NET\bin\1.x . This is a simple tool which queries oracle 10g database and returns a distinct records from a table. This tool is working fine from tool box but when this tool is published in REST, it throws Oracle type initialize exception on line&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Connection = new OracleConnection(constr);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;ArcGIS server 10.2, Visual Studio 2012.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Server: Windows 2012 64bit OS&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Oracle client : installed both oracle 32 and oracle 64bit (C:\oracle\product\10.2.0\Client_32, C:\oracle\product\10.2.0\Client_64)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;PATH: c:\oracle\product\10.2.0\client_64\bin;c:\oracle\product\10.2.0\client_32\bin;&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;Any clues on this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 16:29:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/error-the-type-initializer-for-oracle-dataaccess/m-p/116278#M4565</guid>
      <dc:creator>LakshmananVenkatesan</dc:creator>
      <dc:date>2014-04-02T16:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error:The type initializer for 'Oracle.DataAccess.Client.OracleConnection' thrown</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-the-type-initializer-for-oracle-dataaccess/m-p/116279#M4566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In case you wish to try the Oracle Instant Client, instead of Oracle Client, to which Vince referred in the other thread, Richard Watson provided some install instructions in this post:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/74635-Is-it-necessary-to-install-the-%E2%80%9CMicrosoft-SQL-server%E2%80%9D-before-installing-the-%E2%80%9CArcSDE%E2%80%9D?p=261569&amp;amp;viewfull=1#post261569"&gt;http://forums.arcgis.com/threads/74635-Is-it-necessary-to-install-the-%E2%80%9CMicrosoft-SQL-server%E2%80%9D-before-installing-the-%E2%80%9CArcSDE%E2%80%9D?p=261569&amp;amp;viewfull=1#post261569&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 06:52:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/error-the-type-initializer-for-oracle-dataaccess/m-p/116279#M4566</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2014-05-02T06:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error:The type initializer for 'Oracle.DataAccess.Client.OracleConnection' thrown</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-the-type-initializer-for-oracle-dataaccess/m-p/116280#M4567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Marco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you explain difference between Oracle instant client and regular oracle client software which comes with Oracle installer?.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As said, I have installed oracle client (64 and 32bit) and set a PATH variable as ESRI specified. Still am struggling to get the result.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 18:28:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/error-the-type-initializer-for-oracle-dataaccess/m-p/116280#M4567</guid>
      <dc:creator>LakshmananVenkatesan</dc:creator>
      <dc:date>2014-05-05T18:28:17Z</dc:date>
    </item>
  </channel>
</rss>

