How much faster is Oracle.DataAccess.Client over System.Data.OracleClient ?

Ok, I can use two differenct data providers in VisualCSharp/.NET:
1.) MS built-in data provider:
using System.Data.OracleClient ;
2.) Oracle ODP.NET data provider:
using Oracle.DataAccess.Client ;
How much faster is Oracle over the built-in access provider ?
Does Oracles ODP use MS basic ADO.NET as underlying layer
or does it bypass it ?
What are the other advantages when I use Oracle ODP?
Is there a side-by-side comparison chart between the two access methods ?

I would say that it is both for speed and for functionality. The ODP data provider has Oracle specific functionality that is not available via the MS data provider.
From the ODP.NET page:
ODP.NET includes many features not available from other .NET drivers, including a native XML data type, the ability to bind array parameters, RAC tuning, and statement caching.

Similar Messages

  • Oracle 9i Client and System.Data.OracleClient Problems

    I have an application server that has an ASP.NET webpage that queries an Oracle database on another machine through ODP.NET.
    The app server's machine's OS is Microsoft Windows XP SP2 with IIS and .NET 2.0 Framework installed and configured correctly.
    The following Oracle software is installed (from OUI inventory listing)
    Oracle Services For Microsoft Transaction Server 9.2.0.7.0
    Oracle ODBC Driver 9.2.0.7.0
    Oracle Provider for OLE DB 9.2.0.7.0
    Oracle Objects for OLE 9.2.0.7.0
    Oracle Data Provider for .NET 9.2.0.7.0
    Oracle 9i Client 9.2.0.1.0
    Sun JDK 1.3.1.0.1a
    When the ASP.NET page attempts to connect to the Oracle instance on the remote machine via the Data provider I get the following message...
    System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    <<snipped>>
    I know the connectivity between the client on the app server (SQL*Plus: Release 9.2.0.1.0)
    and the remote database (Oracle Database 10g Enterprise Edition Release 10.2.0.3.0)
    is working since sqlplus sessions connect and the NET Manager tests through Local Service Naming succceed.
    I've tried the "ORACLE_HOME permission changes" solution for Autenticated users as articulated here ....
    http://jasondotnet.spaces.live.com/blog/cns!BD40DBF53845E64F!122.entry
    but the error persists.
    In the list of oracle installed products above, I installed the first 5 (ODP.NET) before the last 2 (Oracle 9i client). Would this matter ? At first I thought perhaps the ODP.NET component didn't "know" about the client since it was installed before there was one on that app server.
    Feeback much appreciated.

    Well I figured it out. I guess...
    1) Uninstalled all Oracle Software Products
    2) Rebooted the machine.
    3) Manually removed C:\oracle\ora92\.
    4) Installed and configured the following
    * Oracle 9i Client 9.2.0.1.0
    5) Installed and configured the following
    * Oracle Services for Microsoft Transaction Server 9.2.0.7.0
    * Oracle ODBC Driver 9.2.0.7.0
    * Oracle Provider for OLE DB 9.2.0.7.0
    * Oracle Objects for OLE 9.2.0.7.0
    * Oracle Data Provider for .NET 9.2.0.7.0
    6) Gave the following accounts Full Control over the ORACLE_HOME directory
    * ASP.NET Machine Account
    * Internet Guest Account
    * Launch IIAS Process Account
    6) iisreset
    Conclusion....
    The order in which Oracle components are installed does matter.

  • DBProviderFactories.GetFactory("Oracle.DataAccess.Client") very slow

    The call to System.Data.Common.DBProvidersFactories.GetFactory("Oracle.DataAccess.Client") is taking over 2 minutes to return on my computer. By comparison, calls to GetFactory() for the System.Data.SqlClient and IBM.Data.DB2 takes less than a second.
    Even more strange, the same call is very fast if I am running the code inside of the VS2010 debugger.
    ODAC version 11.2.0.1.2 (32bit version)
    Windows 7 64 bit
    .NET 3.5 SP1
    Oracle server - not relevant since test pgm is not connecting to a serve.
    Code developed with VS 2010.
    Test pgm built with:
    - Target CPU=32 (so app runs as 32bit mode, instead of 64)
    - Target Framework = .NET 3.5 SP1
    The call has not always been this slow. I have been running with ODAC 11.2.0.1.2 since it's release. But, IIRC, the slowness just started several weeks ago.
    Below is the test pgm:
    Imports System.Configuration
    Imports System.Data.Common
    Module Module1
        Sub Main()
            CreateFactory("Oracle.DataAccess.Client")
            CreateFactory("System.Data.SqlClient")
            CreateFactory("IBM.Data.DB2")
        End Sub
        Sub CreateFactory(ByVal providerName As String)
            Dim sw = New Stopwatch
            sw.Start()
            Dim factory = DbProviderFactories.GetFactory(providerName)
            sw.Stop()
            If factory Is Nothing Then
                Throw New Exception(String.Format("DbProviderFactories.GetFactory({0}) failed", providerName))
            End If
            Console.WriteLine("DbProviderFactories.GetFactory({0}) call took {1} secs", providerName, sw.Elapsed.TotalSeconds)
        End Sub
    End ModuleThe output I get is:
    DbProviderFactories.GetFactory(Oracle.DataAccess.Client) call took 130.1584958 secs
    DbProviderFactories.GetFactory(System.Data.SqlClient) call took 0.0001462 secs
    DbProviderFactories.GetFactory(IBM.Data.DB2) call took 0.1252213 secs
    Please let me know if you need any more information. All help is appreciated.
    Jim

    As I mentioned before, if I loaded the DBProviderFactory object, for the IBM.Data.DB2 provider, loading the Oracle.DataAccesss.Client provider ran quickly. The IBM.Data.DB2 provider always using a distributed transaction to communicate with the database. So, my guess is that the IBM DBProviderFactory was doing work to prepare for a distributed transaction. And this prep work allows the Oracle DBProviderFactory to run much faster.
    So to test my theory, I created a TransactionScope object, before creating the Oracle DBProviderFactory. See new code below:
    <pre>
    Sub Main()
    Using ts = New Transactions.TransactionScope()
    CreateFactory("Oracle.DataAccess.Client")
    End Using
    End Sub
    Sub CreateFactory(ByVal providerName As String)
    Dim sw = New Stopwatch
    sw.Start()
    Dim factory = DbProviderFactories.GetFactory(providerName)
    sw.Stop()
    If factory Is Nothing Then
    Throw New Exception(String.Format("DbProviderFactories.GetFactory({0}) failed", providerName))
    End If
    Console.WriteLine("DbProviderFactories.GetFactory({0}) call took {1} secs", providerName, sw.Elapsed.TotalSeconds)
    End Sub
    </pre>
    And this was the result:
    DbProviderFactories.GetFactory(Oracle.DataAccess.Client) call took 0.1925129 sec
    a dramatic speedup.
    Is this expected behavior? More importantly, is there a fix to make loading the Oracle DbProviderFactory faster without requiring the creation of a TransactionScope object?
    Thanks,
    Jim
    Edited by: thompkin on Nov 18, 2010 10:55 AM

  • 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,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

  • Migrating System.Data.OracleClient to Oracle.DataAccess.Client - XSD error

    Hi, I'm a newbie using Oracle ODP.NET provider for .NET.
    We have a web application that uses XSD to connect to Oracle using the provider System.Data.OracleClient.
    We want to migrate from System.Data.OracleClient to Oracle.DataAccess.Client.
    Installing and referencing the Oracle.DataAccess.dll all works fine.
    Then I changed all the references from System.Data.OracleClient to Oracle.DataAccess.Client and removed the System.Data.OracleClient.dll assembly from the web.config file.
    All compiles well, until I run the application, looks like the problem is the parameter use in the XSD file... the error I get is:
    Server Error in '/src' Application.
    Value does not fall within the expected range.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.ArgumentException: Value does not fall within the expected range.
    Source Error:
    Line 8864: global::Oracle.DataAccess.Client.OracleParameter param = new global::Oracle.DataAccess.Client.OracleParameter();
    Line 8865: param.ParameterName = "Original_TIPOCOMISIONID";
    Line 8866: param.DbType = global::System.Data.DbType.VarNumeric;
    Line 8867: param.IsNullable = true;
    Line 8868: param.SourceColumn = "TIPOCOMISIONID";
    Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\src\4a9afcc3\460b5b6b\App_Code.eljteq62.7.cs Line: 8866
    Stack Trace:
    [ArgumentException: Value does not fall within the expected range.]
    Oracle.DataAccess.Client.OracleParameter.set_DbType(DbType value) +134
    dsProductosTableAdapters.SIPC_TIPOCOMISIONTableAdapter.InitAdapter() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\src\4a9afcc3\460b5b6b\App_Code.eljteq62.7.cs:8866
    dsProductosTableAdapters.SIPC_TIPOCOMISIONTableAdapter.get_Adapter() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\src\4a9afcc3\460b5b6b\App_Code.eljteq62.7.cs:8797
    dsProductosTableAdapters.SIPC_TIPOCOMISIONTableAdapter.GetData() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\src\4a9afcc3\460b5b6b\App_Code.eljteq62.7.cs:8993
    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
    System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
    System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
    System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +350
    System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
    System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance) +488
    System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1247
    System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) +95
    System.Web.UI.WebControls.ListControl.PerformSelect() +34
    System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
    System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
    System.Web.UI.WebControls.BaseDataBoundControl.OnPreRender(EventArgs e) +22
    System.Web.UI.WebControls.ListControl.OnPreRender(EventArgs e) +18
    System.Web.UI.Control.PreRenderRecursiveInternal() +80
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
    Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3614
    I'd like some help on how to make the XSD compile with the new provider, Oracle.DataAccess.Client.
    Many thanks in advance for any help!
    Pieter

    MS OracleClient binds parameters by name. ODP.NET binds by position. If you want to change ODP.NET's default parameter binding behavior, set:
    OracleCommand.BindByName = true;
    Do this for every OracleCommand that binds parameters.

  • How much fast are the new iMac's?

    I've been looking at upgrading my G5 PowerMac for a while and now Apple has just updated the iMac. How much faster are the new models over the just superseded ones and my G5 (spec below).
    I mainly us it for my work with Photoshop CS2 and the G5 does a great job most of the time but is showing it's age. I was looking at the 2nd model but for not much more you can get the 27inch screen with better upgrade options.

    Hi Craig,
    even the very first 2006 released Intel iMacs were faster than the G5 iMacs including yours.
    See this Barefeats test http://www.barefeats.com/imcd3.html
    Check additional tests on Barefeats on older iMacs against newer ones http://www.barefeats.com/
    The new 2010 iMacs of any sort run circles around the 2006 iMacs, so you are in for a very pleasant surprise
    Regards
    Stefan

  • Oracle.DataAccess.Client如何处理xmltype字段

    c# vs2012 windows7 oracle11g服务端客户端字符集【SIMPLIFIED CHINESE_CHINA.US7ASCII】
    原本是想解决 XMLTYPE字段里面中文乱码的问题的,使用datareader里面的中文全变成“?”,
    现在想用Oracle.DataAccess.Client处理xmltype字段,网上找了方法,但是会报 ORA-06553:PLS-306 的错
    using Oracle.DataAccess;
    using Oracle.DataAccess.Types;
    using Oracle.DataAccess.Client;
    string conString = "Data Source =testascii;Persist Security Info=True;User ID=common;Password=common";
    XmlDocument xmlDoc = new XmlDocument();
    string strProperty = @"<root>钓鱼岛是中国的</root>";
    xmlDoc.LoadXml(strProperty);
    Oracle.DataAccess.Client.OracleConnection con = new Oracle.DataAccess.Client.OracleConnection(conString);
    con.Open();
    OracleXmlType cxml = new OracleXmlType(con,strProperty);
    //OracleXmlType cxml = new OracleXmlType(con, xmlDoc);
    Oracle.DataAccess.Client.OracleCommand cmd = new Oracle.DataAccess.Client.OracleCommand();
    cmd.Connection = con;
    cmd.CommandText = @"insert into d_test values(:nvar,SYS.XMLType(:xml))";
    //Oracle.DataAccess.Client.OracleParameter p1 = new Oracle.DataAccess.Client.OracleParameter("nvar",OracleDbType.NVarchar2);
    //Oracle.DataAccess.Client.OracleParameter p2 = new Oracle.DataAccess.Client.OracleParameter("xml", OracleDbType.XmlType);
    //p1.Value = DateTime.Now.ToLongDateString();
    //p2.Value = cxml;
    cmd.Parameters.Add("nvar", OracleDbType.NVarchar2).Value = DateTime.Now.ToLongDateString();
    cmd.Parameters.Add("xml", OracleDbType.XmlType).Value = cxml;
    //cmd.Parameters.Add(p1);
    //cmd.Parameters.Add(p2);
    try
    int count = cmd.ExecuteNonQuery();
    if (count >= 1)
    MessageBox.Show("ok");
    else
    MessageBox.Show("shit");
    catch (System.Exception ex)
    MessageBox.Show(ex.Message);
    con.Close();
    这种写法会报 ORA-06553:PLS-306: XMLTYPE..这个错误
    这个如何解决呀

    US7ASCII
    U.S. 7-bit ASCII
    US
    7
    ASCII
    ASCII字符集是不包括中文的, 你使用的 NVARCHAR是 NATIONAL CHARACTER SET 的CHAR类型

  • Oracle.DataAccess.Client.OracleException - How do I look up error numbers?

    We are getting an intermittent error that doesn't help much and I would like to read up on the error to figure out what to do to fix it. Do any of you know how or where to look up error numbers for this? The error we are getting is: Oracle.DataAccess.Client.OracleException Data provider internal error(-3000)
    I have searched www.Oracle.com and done a Google search and the only hit I get is a similar error (error(-3001) for them) that has to do with connection pooling. They didn't get a solution to their post. There are no reference links that come back on my searches.
    So, can you help?

    Hi,
    -3000 means something bad happened internally in the provider. It's a catchall "you should never get here" error. As such, it's usually something the ODP team needs to fix, as opposed to something you can fix in your code.
    My best suggestion is to make sure you're using the latest and greatest provider and see if it still occurs. If it still occurs on current versions, you'll probably want to open up a SR with support, enable tracing to generate a "mini dump" when the behavior occurs, and have the dump analyzed.
    Cheers,
    Greg

  • 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.  

  • How much faster or better is the new iMac... really?

    Hello all,
    I have a 20" 2.33Ghz C2D iMac w/256Meg video RAM, and 3Gig of RAM. I understand that many factors come in to play when you compare the over all speed of a computer. How much faster, over all, is the new iMacs over the system I have? Has anyone tested the two next to each-other yet? I am sure the new one is faster in some ways, but is it really lots faster in over all performance, or just a little?
    Apple //GS

    Hi Patrice,
    Within Apple’s slim new 21.5- and 27-inch iMacs are NVIDIA GeForce GPUs, based on our new Kepler-class architecture, which helps make them up to 60 percent faster than last year’s models. This follows news in June that Apple’s 15-inch MacBook Pro with Retina display uses Kepler GeForce GPUs.
    The new 27-inch iMac offers the GeForce GTX 660M as its base GPU, with even faster GeForce GTX 675MX or GeForce GTX 680MX GPUs available. The 21.5-inch model comes with the GeForce GT 640M GPU, with an available upgrade to the GeForce GT 650M GPU.
    http://blogs.nvidia.com/2012/10/big-imac-news-less-heft-more-kepler/
    So, any Apps that use the GPU to assist GPU should be much faster.
    Though I don't see it listed here, it may be too new, I suspect it may be supported...
    http://www.adobe.com/products/premiere/tech-specs.html

  • oracle.dataaccess.client not recognized in app.config for edmMapping

    Hi,
    I installed ODTwithODAC112030 EF provider release version.
    So I want to use custom EDM Mapping for boolean or something else.
    But Entity Data Model can't recognize
    <oracle.dataaccess.client>
    <settings>
    section in appConfig file.
    I'm using Win 7 x64 , VS 2010 and x86 odac components.
    How can i resolve this problem.
    Thank you..

    Would you please do a simple test like follows?
    1. create test table
    create table test_table (c1 number(4) primary key not null, c2 number(1, 0), c3 number(2), c4 number(5, 0), c5 number(10, 0), c6 number(19, 0));
    2. create a C# Console application and create a data model from test_table.
    Because there is no custom type mapping specified in app.config, default mapping is used in the model.
    Your CSDL section in Model1.edmx should show:
    <EntityType Name="TEST_TABLE">
    <Key>
    <PropertyRef Name="C1" />
    </Key>
    <Property Name="C1" Type="Int16" Nullable="false" />
    <Property Name="C2" Type="Int16" />
    <Property Name="C3" Type="Int16" />
    <Property Name="C4" Type="Int16" />
    <Property Name="C5" Type="Int32" />
    <Property Name="C6" Type="Int64" />
    </EntityType>
    3. Delete Model1.edmx.
    4. Open app.config and add the following below </connectionStrings> and above </configuration>. Save changes.
    <oracle.dataaccess.client>
    <settings>
    <add name="bool" value="edmmapping number(1, 0)" />
    <add name="byte" value="edmmapping number(3, 0)" />
    <add name="int16" value="edmmapping number(4, 0)" />
    <add name="int32" value="edmmapping number(9, 0)" />
    <add name="int64" value="edmmapping number(18, 0)" />
    </settings>
    </oracle.dataaccess.client>
    5. Create a data model from test_table again.
    The new model should be using your custom type mapping.
    Your CSDL section in Model1.edmx should show:
    <EntityType Name="TEST_TABLE">
    <Key>
    <PropertyRef Name="C1" />
    </Key>
    <Property Name="C1" Type="Int16" Nullable="false" />
    <Property Name="C2" Type="Boolean" />
    <Property Name="C3" Type="Byte" />
    <Property Name="C4" Type="Int32" />
    <Property Name="C5" Type="Int64" />
    <Property Name="C6" Type="Decimal" Precision="19" Scale="0" />
    </EntityType>
    If it does not work for you, you may want to check the version of your Oracle.DataAccess.dll in the GAC.
    gacutil /l Oracle.DataAccess
    Or change the timestamp of app.config.
    touch.exe app.config

  • Oracle.DataAccess.Client.OracleDataAdapter exists in both v2 and v4

    Hi there,
    I am developing ASP Net application with ODP.NET 11.2.0.2.1 and VS 2010. The target framework is .Net framework 3.5 and I've explicitly Oracle.DataAccess reference to v.2, with
    <add assembly="Oracle.DataAccess, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89B483F429C47342"/>
    , but when it compiled, it throw error
    The type 'Oracle.DataAccess.Client.OracleDataAdapter' exists in both
    'c:\WINDOWS\assembly\GAC_32\Oracle.DataAccess\2.112.2.0__89b483f429c47342\oracle.dataaccess.dll'
    and 'c:\WINDOWS\Microsoft.NET\assembly\GAC_32\Oracle.DataAccess\v4.0_4.112.2.0__89b483f429c47342\oracle.dataaccess.dll'     
    c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\esptweb\df172a69\e974c60e\App_Code.eoge0t0f.4.cs
    How can I fixed it?
    Thanks for the help.

    Did you try adding that reference using the Add Reference command in Visual Studio instead? I've never seen it behave like this before.
    There are two versions of the assembly, but it shouldn't be trying to load the .net 4 version if you have a reference to the .net 2 version and you're in a 2 (or 3.5) app.

  • Oracle.DataAccess.Client.OracleException: ORA-1031: insufficient privileges

    Hi,
    I am using Visual Studio 2003. I am creating a ASP.NET Web Application NOT Windows Application.
    I logged into Oracle as a DBA, but I got this message.
    I wasn't sure if I missed anything when working on the Web.
    Thanks for your help.
    Luan

    Hi Chris,
    Thank you so much for your help.
    Yes, I use oracle explorer. Sorry, the code is kind of long. Here is the code:
    using System;
    using System.Collections;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Web;
    using System.Web.SessionState;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.HtmlControls;
    namespace WebBank
         /// <summary>
         /// Summary description for WebForm1.
         /// </summary>
         public class WebForm1 : System.Web.UI.Page
              protected Oracle.DataAccess.Client.OracleDataAdapter oracleDataAdapter1;
              protected Oracle.DataAccess.Client.OracleCommand oracleCommand1;
              protected Oracle.DataAccess.Client.OracleConnection oracleConnection1;
              protected System.Web.UI.WebControls.Button btnOK;
              protected System.Web.UI.WebControls.DataGrid DataGrid1;
              private void Page_Load(object sender, System.EventArgs e)
                   // Put user code to initialize the page here
                   //DataSet ds = new DataSet();
                   //oracleDataAdapter1.Fill(ds);
                   //DataGrid1.DataSource = ds.Tables[0];
              #region Web Form Designer generated code
              override protected void OnInit(EventArgs e)
                   // CODEGEN: This call is required by the ASP.NET Web Form Designer.
                   InitializeComponent();
                   base.OnInit(e);
                   DataSet ds = new DataSet();
                   oracleDataAdapter1.Fill(ds);
                   DataGrid1.DataSource = ds.Tables[0];
              /// <summary>
              /// Required method for Designer support - do not modify
              /// the contents of this method with the code editor.
              /// </summary>
              private void InitializeComponent()
                   this.oracleDataAdapter1 = new Oracle.DataAccess.Client.OracleDataAdapter();
                   this.oracleCommand1 = new Oracle.DataAccess.Client.OracleCommand();
                   this.oracleConnection1 = new Oracle.DataAccess.Client.OracleConnection();
                   // oracleDataAdapter1
                   this.oracleDataAdapter1.SelectCommand = this.oracleCommand1;
                   this.oracleDataAdapter1.RowUpdated += new Oracle.DataAccess.Client.OracleRowUpdatedEventHandler(this.oracleDataAdapter1_RowUpdated);
                   // oracleCommand1
                   this.oracleCommand1.CommandText = "SELECT * FROM SYSTEM.CUSTOMER";
                   this.oracleCommand1.Connection = this.oracleConnection1;
                   // oracleConnection1
                   this.oracleConnection1.ConnectionString = "User Id=system;Data Source=TESTDB;Password=passwd;Persist Security Info=true;";
                   this.oracleConnection1.InfoMessage += new Oracle.DataAccess.Client.OracleInfoMessageEventHandler(this.oracleConnection1_InfoMessage);
                   this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
                   this.Load += new System.EventHandler(this.Page_Load);
              #endregion
              private void oracleConnection1_InfoMessage(object sender, Oracle.DataAccess.Client.OracleInfoMessageEventArgs eventArgs)
              private void oracleDataAdapter1_RowUpdated(object sender, Oracle.DataAccess.Client.OracleRowUpdatedEventArgs e)
              private void btnOK_Click(object sender, System.EventArgs e)
                   DataSet ds = new DataSet();
                   oracleDataAdapter1.Fill(ds);
                   DataGrid1.DataSource = ds.Tables[0];

  • Oracle.DataAccess.Client.OracleException: The provider is not compatible

    I am getting an error, and I don't understand why I'm getting it.
    Error:
    Oracle.DataAccess.Client.OracleException: The provider is not compatible with the version of Oracle client
    Environment:
    ODP.NET, 10.2.0.2 (ODTwithODAC10202.exe install)
    Oracle 9i database
    Windows 2000, .NET 1.x framework
    Before ODP.NET, Oracle 9.2 client
    Server does not have Visual Studio installed
    Just installed ODP.NET today; any time I attempt to access OracleConnection, I get the error above. I am a newbie to server installations; if something is obvious to you, it might not be obvious to me, so feel free to point out even the most basic things.
    I did install ODP.NET (same version) on my own PC several months ago, running over the same database, and everything seems to be working fine...
    Message was edited by:
    user531571

    Yeah; apparently, the Oracle install on that server was known (by everyone but me, from the sounds of it) to be exceptionally fragile. Installing ODP.NET brought down all Oracle connections. Uninstalling ODP.NET broke (actually, shattered might be closer to the truth) the Oracle instance on that box. Our solution? Start from scratch with a new server. Another piece of information which would have been nice to know is that they were looking for an excuse to get rid of this server; I wouldn't have been running around like a madman trying to fix it (and stressing all the while).
    So, the problem has been solved, but not in any kind of normal fashion.

Maybe you are looking for

  • Vendor Auto Mail Information

    Hi QM Gurus, My client requirement is Scenario 1:  Once procurement goods rejected in Quality that time rejection information (Defect details, UD details, Accepted qty, rejected qty) send to vendor as well as concern vendor follow up person automatic

  • Function to get the path using a parent-child relationship

    Hello, I have a table which uses parent-child relationship to store the options available. I need a function to give me the full path given the id of a particular option. I have two different functions. One of them uses the Oracle built in function a

  • Information about Planned Order convert into Purchase Requisition Job work

    Hi Expert , Can U tell me If we generate the MRP of FG in which one component Procurement type is 'BOTH' then can we convert that planned order partially into Purchase Req - Job work and Purchase Req - Normal SANDEEP

  • Cannot get sound to go through earphones

    plug them in and sound / music is played from phon'es speaker, not earphones.

  • HT203477 general error

    Trying to put together a quick rough cut and started getting a "general error" message. My canvas and timeline disappear and I'm unable to get them back without quitting the program altogether and opening a new project. Any hints? Final Cut Pro 7.0 (