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 6956125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:49:39+00:00 2026-05-27T14:49:39+00:00

I have a .NET 4.0 Web Forms app that I am running with the

  • 0

I have a .NET 4.0 Web Forms app that I am running with the beta Oracle EF-aware data provider, and I want to perform “unobtrusive” Oracle deployment to a Win2K8 box, as shown in many SO solutions.

There is an existing Oracle Instant Client installation on the Win2K8 box, which I can neither work with nor remove, and it has an entry in the PATH environment variable on the Win2K8 box. According to this SO answer, I do not need to set PATH for my Oracle DLLs, since I have DllPath set in the web.config.

I am following the procedure from here, yet I still get the provider is not compatible with the version of Oracle client error.

Here’s my (unsuccessful) setup, as of now:

Oracle DLLs are in my web app’s bin directory, and set to Copy Always Do Not Copy.

Platform and Platform Target settings are set to x86 in my local Build Configuration.

32-bit applications are enabled in the app pool (.NET 4.0) on the Win2K8 box.

Oracle DLLs are not present in the GAC, not are they present in the GAC_32 and GAC_64 directories on the Win2K8 box.

My web.config (but not my Win2K8 machine.config) contains this:

<configuration>

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

    <oracle.dataaccess.client>
        <settings>
            <add name="DllPath" value="C:\inetpub\wwwroot\myapp\bin"></add>
            <add name="FetchSize" value="65536"></add>
            <add name="StatementCacheSize" value="10"></add>
            <add name="TraceFileName" value="c:\temp\odpnet2.log"></add>
            <add name="TraceLevel" value="0"></add>
            <add name="TraceOption" value="0"></add>
        </settings>
    </oracle.dataaccess.client>

    <system.data>
        <!-- Version=4.112.2.50 -->
        <DbProviderFactories>
            <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.2.50, Culture=neutral, PublicKeyToken=89b483f429c47342" />
        </DbProviderFactories>
    </system.data>

    <connectionStrings>
        <add name="MyEntities" connectionString="metadata=res://*/MyModel.csdl|res://*/MyModel.ssdl|res://*/MyModel.msl;provider=Oracle.DataAccess.Client;provider connection string=&quot;DATA SOURCE=**<using EZCONNECT format here>**" providerName="System.Data.EntityClient" />
    </connectionStrings>

<configuration>

The app itself deploys successfully, and I can run pages that do not reference my Oracle DLLs. But, for those that do reference Oracle, I still get the provider compatibility error.

What am I missing?

Thanks again for the help.

UPDATE: The web app runs on the Win2K8 target with .NET 4.0, EF4.1, and the Oracle EF Provider, completely separate from the other active ODAC install. No PATH variable, no installation from Universal Installer, no Oracle DLLs in GAC.

  • 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-05-27T14:49:39+00:00Added an answer on May 27, 2026 at 2:49 pm

    Case closed. I was missing an Oracle DLL.

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

Sidebar

Related Questions

I have a asp.net web forms app that uses System.Web.Caching.Cache to cache xml data
I have an ASP.NET Web Forms app that I am building and running against
We currently have a .NET 2.0 web app that uses forms authentication via cookies.
I have a simple .NET 4.0 web forms app that references the Microsoft.ReportViewer namespace:
I have a simple ASP.NET 3.5 SP1 Web Forms app... I've added the System.Web.Routing
I have an ASP.NET web application that is using forms authentication. Everything is configured
Using web forms I know that you can only have one ASP.NET form on
I have a windows forms client that consumes an ASP.net web service. It's my
I have a website that uses basic ASP.Net forms authentication. In the web.config file
I have a ASP.NET Web Forms application that internally makes many SOAP and REST

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.