11g Instant Client Oracle.DataAccess 2.111.6.20 vs Full Client 2.111.6.0

My .NET app was developed on a computer where 11g Instant Client Oracle.DataAccess 2.111.6.20 was installed. I copied the application code to another computer where the 11g Full Client Oracle.DataAccess 2.111.6.0 was installed. When I tried to run it I get the following error:
An unhandled exception of type 'System.TypeIntializationException' occured in System.dll
The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw and exception
My .NET app requires the use of sqlldr which does not come with 11g Instant Client so I'm trying to get it to run on another computer with the 11g Full Client which includes sqlldr.
The appilcation was built referencing the Oracle.DataAccess 2.111.6.20 on the computer with 11g Instant Client but the app needs to run on a computer where sqlldr is installed which is on another computer with 11g Full Client Oracle.DataAccess 2.111.6.0.
Am I going to have to install the 11g Full Client Oracle.DataAccess 2.111.6.0 on the development computer to get the app to work or what?

Thanks Mark
The 2.111.6.20 version is already on our production server so I can't replace it. The app that uses sqllder ony runs two weeks out of a year so I'm thinking that I can set up another dev computer(dev2) with the full client and run the app from there. I may try installing both clients but I'm not sure how that will work out yet. I'm still looking into deploying 2.111.6.20 from dev to dev2 like the option 1 you suggested but coping the file from the GAC of dev to dev2 is more involved than I expected. I'm also trying to get the development tools VS2008 installed on dev2 to try option 2 as you suggested.
Configuration
dev 11g Instant Client Oracle.DataAccess 2.111.6.20
prod 11g Instant Client Oracle.DataAccess 2.111.6.20
dev2 11g Full Client Oracle.DataAccess 2.111.6.0
Thank you,
Keith

Similar Messages

  • Oracle.dataaccess.client,oracle.dataaccess.dll

    I am new to this environment and am trying to write a vb.net application using oracle 9i database. How do i get oracle.dataaccess.client and .dll downloaded and installed so the studio will be happy ??
    George

    Firstly, welcome, and I hope you get off to a good start. You can start by downloading the ODP.NET software from the ODP.NET homepage:
    http://www.oracle.com/technology/tech/windows/odpnet/index.html
    Next I would take a look at John Paul Cook's introductory article:
    http://www.oracle.com/technology/pub/articles/cook_dotnet.html
    There is also sample code that gets installed when you install the ODP.NET software.
    My series of Oracle Magazine articles is here:
    http://www.oracle.com/technology/pub/articles/tech_dev.html#dotnet
    Though they are all in C# some might be useful to you.
    Thanks, and good luck!
    Mark

  • Oracle 10g full client RPM

    Does anybody know that Oracle has full client RPM for 10g? Or just occi full client. This is very important to our development process because the Oracle 10g client can only be installed on redhat or UnitedLinux. But we need it in Debian
    qicheng

    I don't find information about 10g FULL CLIENT. Just find a guide for installing 10g on debian. That won't help me.
    --xinhuan                                                                                                                                                                                                                                                               

  • Developing without  Full client / tnsnames.ora

    I am trying to develop an OCI application using Borland C++ Builder. I want to deploy and develop using Instant Client 10G without tnsnames.ora file. I have 2 PCs - NT4 & XP.
    On the NT4 PC I had installed the full Oracle Client and was using the tnsnames.ora file and things were working fine. I've since uninstalled the full client and am now getting the "ORA-12154: TNS:could not resolve the connect identifier specified" error (using Instant Client)
    The XP box has never had the full client installed, does not have a tnsnames.ora file but works fine using the same code.
    I've been looking through this forum and note Justin Cave's comments that you can deploy but not develop using Instant Client but this seems to work fine on my XP box. (I am an Oracle novice so I could be missing something here).
    I have also checked the FAQ on connection strings and think I have got that correct (same code works on 1 PC and not the other) and don't think I've set the enviroment variables TNS_ADMIN or ORACLE_HOME on either machine.

    Hrm, interesting. It always used to be DBQ but it seems it might have changed to SERVER at some point.
    Anyway, I tried this and it worked fine for me (using 10204)
    TESTFILE.DSN
    ================
    [ODBC]
    DRIVER=Oracle in OraDb10g_home1
    server=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=gdarling-pc2)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))
    TEST.VBS
    ==========
    set con = createobject("adodb.connection")
    con.open "filedsn=testfile;uid=scott;pwd=tiger;"
    set rs = createobject("adodb.recordset")
    rs.open "select user from dual",con
    msgbox rs.fields(0).value
    Note also that unless you really want to create a file dsn, you could also just use a dsnless connection string and pass that directly too:
    set con = createobject("adodb.connection")
    con.open "driver={Oracle in OraDb10g_home1};uid=scott;pwd=tiger;server=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=gdarling-pc2)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))"
    set rs = createobject("adodb.recordset")
    rs.open "select user from dual",con
    msgbox rs.fields(0).value
    Hope it helps,
    Greg

  • Instant Client Oracle 11g release note : Readme_IC

    Hello All
    I am looking for readme_ic.htm for oracle 11G instant client.
    http://www.oracle.com/technology/docs/tech/sql_plus/10103/readme_ic.htm
    link is there for oracle 10G instant client but I could not find for oracle 11g instant client.
    Please let me know if anybody has any idea
    Thanks

    Here, it comes with the software:
    http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html
    regards

  • Oracle.DataAccess, Version=2.111.5.10

    Hi,
    I am trying to compile a project. One of the dependent projects needs the Oracle.DataAccess.dll but for some reason it's missing and i get the error.
    The type 'Oracle.DataAccess.Client.OracleConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'Oracle.DataAccess, Version=2.111.5.10, Culture=neutral, PublicKeyToken=89b483f429c47342'.
    On the net i found many versions to download for ODP.NET but i dont know which on to download for getting the correct verison of the dll.
    Can someone help me with this?
    Thanks

    ODP.NET 2.111.5.10 was the 11g Beta 1 version. It is no longer available. You can use the the Beta 2 version: 2.111.6.10.

  • The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw

    Hi All,
    I am .Net developer [.Net Fream work 2.0].
    In my new windows [C#] project , I have to use oracle Database [11g] which is intalled in one of the server.
    I have installed [my local mechine] odp.net and Oracle.DataAccess.dll version is 2.111.7.20.
    I added reference the above dll and its working fine in my mechine.
    I have build the applicatrion with release option. then i moved the release folder to QA mechine [because QA team needs to test. when the are testing , they are getting below msg
    "The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw "
    Please could some one can help,
    whether i have to intall odp.net in QA mechine also ?
    thanks
    Babu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    As per my experience, Type initializer exception by ODP coulod also be due to mismatch between ODP.Net and dependant layers, especially with the service layer, which communicates with the OCI.
    So, please do following:
    - As suggested earlier, if not installed and then do install the ODP ship home on the target test machine.
    - If already installed, ensure that versions do match, essentially you cannot pick a different ODP dll and try to make it work with a different version of ship home dlls.
    thanks,
    Mrinal

  • Oracle.DataAccess.dll 2.112.1.0 vs 2.111.7.0

    Hi,
    I built a windows 7 64 bit dll application with Oracle 11g, my Oracle.DataAccess.dll version is 2.112.1.0. when I create setup package, I exclude Oracle.DataAccess.dll. When I install it on my user's machine, which have 2.111.7.0 version of Oracle.DataAccess.dll. Now it stop working.
    what's the best solution:
    a) install 2.112.1.0 version of Oracle.DataAccess.dll in my setup package and install it on user's machine
    b) uninstall my 2.112.1.0 version of Oracle client, install 2.111.7.0 one
    c) other... ?
    also, should I use 64 bit Oracle 11g client?
    Thank you,
    Wes

    wesbird wrote:
    When I install it on my user's machine, which have 2.111.7.0 version of Oracle.DataAccess.dll. Now it stop working.
    a) install 2.112.1.0 version of Oracle.DataAccess.dll in my setup package and install it on user's machineJust wanted to point out that if "2.111.7.0" means the user's machine has Oracle 11.1.0.7 something installed, then simply including a "2.112.1.0" dll is not enough i.e. whole 11.2 Client install is needed. Having multiple Oracle homes on a Windows pc might not work well for some apps (think dependencies/support requirements for 3rd part Oracle apps).
    Perhaps ODAC Xcopy deployment package could help simplify deployment.
    32-bit ODAC Xcopy version
    http://www.oracle.com/technetwork/database/windows/downloads/utilsoft-087491.html
    64-bit equivalent
    http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
    Edited by: orafad on Aug 24, 2011 1:10 AM

  • C# program wont work on other machines using Oracle.DataAccess.Client

    The program works fine on the PC that i am developing on i have installed the Visual studio tools from http://www.oracle.com/technology/software/tech/dotnet/utilsoft.html.
    at the start of my code i am using the code "using Oracle.DataAccess.Client; // ODP.NET Oracle managed provider" and i have added the oracle data provider in the reference list.
    When my program is complied it includes Oracle.DataAccess.dll in the older with the exe
    but on any pc i run it on other than mine i get the error shown below (i cant read the error as my friends pc has vista on and crashes the program when he clicked details)
    !http://i41.tinypic.com/710b9w.jpg!
    Edited by: user3473837 on Mar 21, 2009 11:43 AM

    Hi,
    That error occurs when you dont have the right version of Oracle client software installed to use the version of ODP the app loaded.
    What version of ODP was the app compiled with, what version of ODP does the computer you moved the app to have, what version of Oracle client does that computer have, and did you deploy oracle.dataacess along with your app (you shouldnt, unless you're deploying all the files it needs too -- ie, the instant client install).
    Does the computer you moved the app to already have Oracle client? It needs to.
    This might help:
    11g ODP.NET 32bit/64bit minimum requirements to install to a client machine
    Hope it helps,
    Greg
    Edited by: gdarling on Mar 21, 2009 12:56 PM
    Also, for future reference, the ODP forum is [over here|http://forums.oracle.com/forums/forum.jspa?forumID=146&start=0].

  • App.config tag oracle.dataaccess.client not recognized on windows 7...

    Hi all,
    I have an application that is working fine on windows XP. On windows 7, the same application cannot work cause of the tag oracle.dataaccess.client you can see below which is not recognized by the system. As soon as I start the application I get an error
    message
    Unrecognized configuration section oracle.dataaccess.client. Can someone help please before I get  nuts.
    <oracle.dataaccess.client>
    <settings>
    <add name="&quot;EA_SERVICES&quot;.&quot;SLI_SECURITY_PKG&quot;.&quot;SEC_GROUPS_ADD&quot;.RefCursor.OUTPARAM" value="implicitRefCursor bindinfo='mode=Output'"/>
    <add name="&quot;EA_SERVICES&quot;.&quot;SLI_SECURITY_PKG&quot;.&quot;SEC_GROUP_MEMBERS_ADD&quot;.RefCursor.OUTPARAM" value="implicitRefCursor bindinfo='mode=Output'"/>
    <add name="&quot;EA_SERVICES&quot;.&quot;SLI_SECURITY_PKG&quot;.&quot;SEC_OBJECTS_ADD&quot;.RefCursor.OUTPARAM" value="implicitRefCursor bindinfo='mode=Output'"/>
    <add name="&quot;EA_SERVICES&quot;.&quot;SLI_SECURITY_PKG&quot;.&quot;SEC_RIGHTS_ADD&quot;.RefCursor.OUTPARAM" value="implicitRefCursor bindinfo='mode=Output'"/>
    <add name="&quot;EA_SERVICES&quot;.&quot;SLI_SECURITY_PKG&quot;.&quot;SEC_RIGHT_GROUPS_ADD&quot;.RefCursor.OUTPARAM" value="implicitRefCursor bindinfo='mode=Output'"/>
    <add name="&quot;EA_SERVICES&quot;.&quot;SLI_SECURITY_PKG&quot;.&quot;SEC_USERS_ADD&quot;.RefCursor.OUTPARAM" value="implicitRefCursor bindinfo='mode=Output'"/>
    </settings>
    </oracle.dataaccess.client>
    Sherman Body love

    Since this is an oracle section, I think you'll get more help over at the oracle forums.
    https://community.oracle.com/community/developer/english/oracle_database/windows_and_.net/oracle_developer_tools_for_visual_studio
    I would check the versions of the odp.net (oracle.dataaccess.dll) on both machines. The XP machine probably has the 11g client on it. And the windows 7 machine probably has the 12c client on it.  

  • Oraclle 11g instant client x64 doesn't  work in windows 7 x64

    First of all I've read the software requirements in the installation guides for 11g instant client x64 and no support for Windows 7 is mentioned.. I'm not sure if this is the case any how here is the details of the problem:
    I downloaded instant client (basic) and (sqlplus) and unzipped them on drive E, afterwards I created tnsnames.ora file with the following:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = IGGY) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    and saved it in the instant client directory, afterwards I included the instant client directory in the user variable PATH value, and created system variable TNS_ADMIN and added the location of tnsnames.ora in the value.
    Now the problem starts when I open MS-DOS and type: sqlplus system @ORCL, It then prompts for the password and when I try to enter anything the cursor doesn't move unless I press enter and the result is that I get the following error:
    ORA-12154: TNS: COULD NOT RESOLVE THE CONNECT IDENTIFIER SPECIFIED
    Any idea what the reason of this problem is?

    Hello again,
    I was able to reproduce ORA-12154 and the error raised beacause my DUMMY-HOST was not reachable. Using the correct hostname/IP address solved the issue. Can you check if you are able to ping and to telnet your hostname (IGGY).
    Regards,
    David
    # Reproducing issue
    E:\instantclient_11_1>sqlplus system/manager@//DUMMY-HOST:1521/PROD
    SQL*Plus: Release 11.1.0.7.0 - Production on Fri Nov 27 10:37:54 2009
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name:
    # Hostname is not pingable
    E:\instantclient_11_1>ping DUMMY-HOST
    Ping request could not find host DUMMY-HOST. Please check the name and try again.
    # Pinging host which is alive
    E:\instantclient_11_1>ping stlin3p
    Pinging stlin3p [192.168.1.123] with 32 bytes of data:
    Reply from 192.168.1.123: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.123: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.123: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.123: bytes=32 time<1ms TTL=64
    Ping statistics for 192.168.1.123:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
    # Connecting to port 1521 at DUMMY-HOST fails as well
    E:\instantclient_11_1>telnet DUMMY-HOST 1521
    Connecting To DUMMY-HOST...Could not open connection to the host, on port 1521:
    Connect failed
    # Connecting to port 1521 at stlin3p is successful
    E:\instantclient_11_1>telnet stlin3p 1521
    ... connected ...
    # Content of tnsnames.ora
    PROD =
    DESCRIPTION =
    ADDRESS = (PROTOCOL = TCP) (HOST = stlin3p) (PORT = 1521)
    CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PROD)
    # Connecting to DB server using TNS methods is successful
    E:\instantclient_11_1>sqlplus system/manager@PROD
    SQL*Plus: Release 11.1.0.7.0 - Production on Fri Nov 27 10:36:40 2009
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    SQL> exit
    Disconnected from Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    # Connecting to DB server using EZCONNECT is also successful
    E:\instantclient_11_1>sqlplus system/manager@//stlin3p:1521/PROD
    SQL*Plus: Release 11.1.0.7.0 - Production on Fri Nov 27 10:38:21 2009
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    SQL> exit
    Disconnected from Oracle Database 10g Release 10.2.0.4.0 - 64bit Production

  • Oracle.DataAccess.Client.OracleConnection

    I have been reading for hours and just cant seem to make this work. I have a window app that used the ORACLEDATAACESS.dll it works great on the pc. i made the APP but when i try to redistribute i get this nasty message. I read from these forums that i should install the ODP.net net on the computer that will get the installation and i have done that but i cant see to get anywhere. Can someone please give me a tip and point out the obvious i just dont know what to do anymore. t
    System.TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception. ---> Oracle.DataAccess.Client.OracleException The provider is not compatible with the version of Oracle client at Oracle.DataAccess.Client.OracleInit.Initialize()
    at Oracle.DataAccess.Client.OracleConnection..cctor()
    --- End of inner exception stack trace ---
    at Oracle.DataAccess.Client.OracleConnection.Dispose(Boolean disposing)
    at System.ComponentModel.Component.Finalize()
    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    Notepad
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/JAM/My%20Notepad/Notepad.exe
    Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    Oracle.DataAccess
    Assembly Version: 2.111.7.10
    Win32 Version: 2.111.7.10
    CodeBase: file:///C:/Program%20Files/JAM/My%20Notepad/Oracle.DataAccess.DLL
    System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    Oh interesting. I imagine there's a lot of ways that issue could crop up. Thanks!
    I am driving myself completely out of my mind having tried to move a "solution" from one computer
    to another. That is not a nobrainer. I ran into an issue on my home computer that defied all efforts to
    stop it (the cursed varchar columns) so I decided to give up and do the development at work. But the project has not liked the
    move. That is such an issue for an faq: how to design your project and whatever so that it can be
    moved from one development location to another, one database to another, and then,
    how to deploy it. And yeah now that you mention it differences in drive letters might well be a
    factor here. :-(

  • Oracle.DataAccess.Client.OracleException not compatible version

    Hi,
    i have installed the oracle developer tools for VS2005.NET. In my programms i put a reference to the Oracle.DataAccess.dll Version 2.102.2.20 in my Project. I can start and run this Programm on the same PC without problems.
    If i copy the Programm-Exe and the Oracle.DataAccess.dll on an other PC and start this Programm there, i became a Error-Message:
    "Unbehandelte Ausnahme: System.TypeInitializationException: Der Typeninitialisier
    er für Oracle.DataAccess.Client.OracleConnection hat eine Ausnahme verursacht. -
    --> Oracle.DataAccess.Client.OracleException The provider is not compatible with
    the version of Oracle client bei Oracle.DataAccess.Client.OracleInit.Initial
    ize()"
    Is there anybody that can help me?
    thanks,
    Carsten

    You need to run the installer to install ODP.NET on the target machine. Simply copying a few files is not good enough (at least not until we support xcopy instant client).

  • Oracle.DataAccess.Client - DbProviderFactories.GetFactory

    Hello
    I was inspired by this article http://www.oracle.com/technology/oramag/oracle/06-winsupp/win06odp.html
    And been trying to switch my project over from "System.Data.OracleClient" (seems like it's not friendly with TransactionScope) to ODP.NET "Oracle.DataAccess.Client". I failed from get go:
    Code:
    DbProviderFactory oDbFactory = DbProviderFactories.GetFactory("Oracle.DataAccess.Client");
    Keep getting System.Configuration.ConfigurationErrorsException saying:
    +"Failed to find or load the registered .Net Framework Data Provider."+
    In my futile attempt to resolve this:
    STEP 1: In machine.config
    * Under \\configuration\configSections\, *add:
    <section name="oracle.dataaccess.client" type="System.Data.Common.DbProviderConfigurationHandler, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />
    * Under ..\system.data\DbProviderFactories\, *add:
    <add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description=".Net Framework Data Provider for Oracle" type="Oracle.DataAccess.Client.OracleClientFactory, Oracle.DataAccess, Version=10.2.0.100, Culture=neutral, PublicKeyToken=89b483f429c47342" />
    STEP 2: I checked my assembly cache it's there:
    Code:
    D:\Program Files\Microsoft Visual Studio 9.0\VC&gt;gacutil /l | findstr Oracle
    System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77
    a5c561934e089, processorArchitecture=x86
    CoreLab.Oracle, Version=3.50.12.0, Culture=neutral, PublicKeyToken=09af7300eec
    +23701, processorArchitecture=MSIL+
    Oracle.DataAccess, Version=10.2.0.100, Culture=neutral, PublicKeyToken=89b483f
    +429c47342+
    Oracle.DataAccess.resources, Version=10.2.0.100, Culture=de, PublicKeyToken=89
    b483f429c47342
    Oracle.DataAccess.resources, Version=10.2.0.100, Culture=es, PublicKeyToken=89
    b483f429c47342
    Oracle.DataAccess.resources, Version=10.2.0.100, Culture=fr, PublicKeyToken=89
    b483f429c47342
    Oracle.DataAccess.resources, Version=10.2.0.100, Culture=it, PublicKeyToken=89
    b483f429c47342
    Oracle.DataAccess.resources, Version=10.2.0.100, Culture=ja, PublicKeyToken=89
    b483f429c47342
    Oracle.DataAccess.resources, Version=10.2.0.100, Culture=ko, PublicKeyToken=89
    b483f429c47342
    Oracle.DataAccess.resources, Version=10.2.0.100, Culture=pt-BR, PublicKeyToken
    +=89b483f429c47342+
    Oracle.DataAccess.resources, Version=10.2.0.100, Culture=zh-CHS, PublicKeyToke
    n=89b483f429c47342
    Oracle.DataAccess.resources, Version=10.2.0.100, Culture=zh-CHT, PublicKeyToke
    n=89b483f429c47342
    Policy.9.2.Oracle.DataAccess, Version=10.2.0.100, Culture=neutral, PublicKeyTo
    ken=89b483f429c47342
    See, I'm sure the assembly has been installed and in machine.config I used the right key/version. Weird thing is, Red Gate's reflector won't allow me to "Open" (from Cache) the dll, this prevented me to check if there exists "Oracle.DataAccess.Client.OracleClientFactory" within the assembly. So I select "Copy Local" and examined the dll from "Red Gates Reflector". There's no "Oracle.DataAccess.Client.OracleClientFactory" in the dll ???
    RedGates Reflector - Screencap:
    http://www.codeguru.com/forum/showthread.php?p=1831221#post1831221
    STEP 3. Somebody advised to check and make sure "msvcr71.dll" is found under "ORACLE_HOME\bin" and if not copy from "D:\WINDOWS\system32". I did, it's ALREADY there.
    REF:
    http://www.oracle.com/technology/ora.../win06odp.html
    http://social.msdn.microsoft.com/For...7-92c63ac82144
    http://forums.oracle.com/forums/thre...89702�
    Edited by: devvvy on Apr 9, 2009 2:57 AM

    Thanks just installed from http://www.oracle.com/technology/software/tech/dotnet/utilsoft.html
    It seems version is "2.111.6.20" - from machine.config there's a new line
    <add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory, Oracle.DataAccess, Version=2.111.6.20, Culture=neutral, PublicKeyToken=89b483f429c47342" />
    i added reference to it from Visual Studio. It's working now.
    There were two options: one for client, the other for server. I don't understand what it means but stick to "Client" which was the default. Is this okay?
    At the end there was a reminder "Run Oracle Providers for ASP.NET SQL scripts located in D:\OracleODPNET\ASP.NET\SQL directory."
    Anyway, I'm verrrry glad this is working now many thanks!!! (I feel like 10 years older)

  • Oracle.DataAccess.Client.OpsSql::ExecuteReader() never returns

    Within a single day I have experienced twice a peculiar problem with Oracle.DataAccess.Client.OpsSql::ExecuteReader()
    Calling ExecuteReader() blocks indefinitely on a simple select query (it was a different query the two times). The CPU of the Oracle Server was low, so it is not likely that it has been too busy (and moreover at least 10 minutes passed, and it was still blocked)
    Strangely in v$session there was no session entry for the particular process+thread that made the call. There was an inactive session from the same process, but different thread
    My guess is that somehow the Oracle executed the query, but the Oracle Client was not notified and remained waiting. The issue happened on a virtual machine with not stable network connection. Could it be that some packets were lost and the Oracle Client just kept waiting?
    Can anybody recommend a course of action?
    Btw, I use ODP.NET 2.111.6.20

    I use VPN all day every day, and havent seen that problem.
    A client sqlnet trace may help as well, and I'm guessing will show the client is waiting on a packet from the db.
    You may want to take a hang dump using ADPlus, and my guess is you'll see a socket stuck in WSA_Recv32 (waiting for a packet that never comes).
    The default time to wait for a packet is like 2 hours if I remember right.
    You may want to see if your network guys can have a look, or use a tool like WireShark to monitor packets.
    Hope it helps, sorry I dont have a quick easy answer for you.
    Greg

Maybe you are looking for