Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8940889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:09:47+00:00 2026-06-15T11:09:47+00:00

How do you deploy and configure ODP.NET to work without installation with Entity Framework?

  • 0

How do you deploy and configure ODP.NET to work without installation with Entity Framework?

A. How to deploy and configure Oracle.DataAccess.Client?

B. How to deploy and configure Oracle.ManagedDataAccess.Client?

C. What do you need to do in order to make builds with EDMXs with Oracle SSDLs work?

D. What do you need to install for designer support?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T11:09:49+00:00Added an answer on June 15, 2026 at 11:09 am

    This answer summarizes (hopefully) all the steps required, many of which documented in various places online and might save someone hours of Googling.

    A. How to deploy and configure Oracle.DataAccess.Client.

    A.1. Download ODAC112030Xcopy_64bit.zip or ODAC112030Xcopy_32bit.zip.

    A.1.1. Extract the content of the following folders within the zip file into your application/host’s bin/setup folder:

    A.1.1.1. instantclient_11_2

    A.1.1.2. odp.net4\bin\

    A.1.1.3. odp.net4\odp.net\bin\

    A.1.1.4. odp.net4\odp.net\PublisherPolicy\4\

    A.2. Add the following section to the beginning of your application’s/host’s app.config/web.config (if you already have a configSections element, add the section to it:

    <configSections>
      <section name="oracle.dataaccess.client"
        type="System.Data.Common.DbProviderConfigurationHandler, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    </configSections>
    

    A.3. Add the following sections to the end of your application’s/host’s app.config/web.config:

    A.4. From the ODAC112030Xcopy’s folder Run:

    configure.bat odp.net4 somename
    

    I recommend using oraclehome112030_32 or oraclehome112030_64 as the “somename” above.

    <system.data>
      <DbProviderFactories>
        <!-- Remove in case this is already defined in machine.config -->
        <remove invariant="Oracle.DataAccess.Client" />
        <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=4.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342"/>
      </DbProviderFactories>
    </system.data>
    
    <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(5,0)" />
        <add name="int32" value="edmmapping number(10,0)" />
        <add name="int64" value="edmmapping number(19,0)" />
        <add name="int16" value="edmmapping number(38,0)" />
        <add name="int32" value="edmmapping number(38,0)" />
        <add name="int64" value="edmmapping number(38,0)" />
      </settings>
    </oracle.dataaccess.client>
    


    B. How to deploy and configure Oracle.ManagedDataAccess.Client.

    B.1. Download ODP.NET_Managed_1120350_Beta.zip

    B.1.1. Extract the following files into your application/host’s bin/setup folder.

    B.1.1.1. Oracle.ManagedDataAccess.dll

    B.1.1.2. x64\Oracle.ManagedDataAccessDTC.dll or x86\Oracle.ManagedDataAccessDTC.dll

    B.2. Add the following section to the beginning of your application’s/host’s app.config/web.config (if you already have a configSections element, add the section to it:

    <configSections>
      <section name="oracle.manageddataaccess.client"
        type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.112.3.50, Culture=neutral, PublicKeyToken=89b483f429c47342" />
    </configSections>
    

    B.3. Add the following sections to the end of your application’s/host’s app.config/web.config:

    <system.data>
      <DbProviderFactories>
        <!-- Remove in case this is already defined in machine.config -->
        <remove invariant="Oracle.ManagedDataAccess.Client" />
        <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" />
      </DbProviderFactories>
    </system.data>
    
    <oracle.manageddataaccess.client>
      <version number="*">
        <settings>
          <!-- Set this path if you are using TNS aliases as connection strings (not recommended) -->
          <!-- Instead you can use "SERVER_NAME:PORT/SERVICE_NAME" as your data source -->
          <setting name="TNS_ADMIN" value="C:\"/>
        </settings>
        <edmMappings>
          <edmMapping dataType="number">
            <add name="bool" precision="1"/>
            <add name="byte" precision="2" />
            <add name="int16" precision="5" />
          </edmMapping>
        </edmMappings>
      </version>
    </oracle.manageddataaccess.client>
    


    C. For building:

    C.1. Add this section to your EDMX’s assembly’s app.config:

    (Haven’t tried this with Oracle.ManagedDataAccess.Client yet)

    <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(5,0)" />
        <add name="int32" value="edmmapping number(10,0)" />
        <add name="int64" value="edmmapping number(19,0)" />
        <add name="int16" value="edmmapping number(38,0)" />
        <add name="int32" value="edmmapping number(38,0)" />
        <add name="int64" value="edmmapping number(38,0)" />
      </settings>
    </oracle.dataaccess.client>
    

    C.2. Add a file named Oracle.xsd to the same assembly with the content:

    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema id="odpnetappconfigmappings" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    
      <xs:complexType name="addtype">
        <xs:attribute name="name" type="xs:string" />
        <xs:attribute name="value" type="xs:string" />
      </xs:complexType>
    
      <xs:complexType name="settingstype">
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:element name="add" type="addtype" />
        </xs:sequence>
      </xs:complexType>
    
      <xs:complexType name="oracledataaccessclienttype">
        <xs:sequence minOccurs="0" maxOccurs="1">
          <xs:element name="settings" type="settingstype" />
        </xs:sequence>
      </xs:complexType>
    
      <xs:element name="oracle.dataaccess.client" type="oracledataaccessclienttype" />
    
    </xs:schema>
    

    C.3. Add the above XSD to the above app.config’s list of Schemas.

    C.4. If you are getting errors for boolean mappings during build even though build is succeeding, add the app.config mappings to Visual Studio’s devenv.exe.config.

    C.5. If you want to use Oracle.ManagedDataAccess.Client, either edit data provider attribute in the EDMX manually prior to build (I have not tried this) or edit it prior to creation of Context at run time and load MSSL from edited copy instead of from resource (this seems to work and I also use a similar trick to choose which MSSL to load for different DB providers).


    D. For designer support:

    D.1. Download win64_11gR2_client.zip or win32_11gR2_client.zip and install.

    D.1.1. Select “Administrator” as type of installation.

    D.2. download ODT and install.


    I tried this (A and B) on a blank machine (VM) with Windows 7 x64.

    This procedure does not seem to work with x86 version of Oracle.DataAccess.Client on Windows x64.

    The procedure does seem to work with the x64 version of Oracle.DataAccess.Client on Windows x64 and with both versions of Oracle.ManagedDataAccess.Client.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I configure my proxy settings to run my application without deploy on
i want to know how do i deploy ASP.NET web applications on client machines
I'm trying to configure Capifony on my server to deploy a symfony2 project but
We deploy web services implemented by using the CXF framework on the Glassfish application
We deploy our .net web application in six server(each with one copy) to get
Writing/reading code seems less stress then preparing a deploy scripts such as ./configure then
How can I configure Tomcat (in standalone mode, that is without Apache [*]) so
Is it possible to configure the http server that comes with Oracle XE so
Is it possible to configure an IIS site to read ASP.Net settings from a
I have IIS 7.5 that configure for work with x64 applications. I want use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.