2 Replies Latest reply: Oct 3, 2012 1:09 AM by JuliánYuste RSS

    Try managed version without modify machine.config

    JuliánYuste
      Hello,

      I'm trying to test the managed version of the driver and I have the following question:

      Is it possible to use it without modifying the machine.config file?

      I have tried adding the following line to my web.config file within <configSections> tag:

      <section name="oracle.manageddataaccess.client" type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.112.3.50, Culture=neutral, PublicKeyToken=89b483f429c47342" />

       and the following within <system.data> <DbProviderFactories> tag:

      <add name = "ODP.NET, Managed Driver" invariant = "Oracle.ManagedDataAccess.Client" description = "Oracle Data Provider for. NET, Managed Driver" type = "Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.112.3.50, Culture = neutral, PublicKeyToken = 89b483f429c47342 "/>

      but then I get an error saying:

      Type 'Oracle.ManagedDataAccess.Client.OracleClientFactory' does not inherit from 'System.Configuration.IConfigurationSectionHandler'.

      Greetings.