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

  • Home
  • SEARCH
  • 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 7621465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:12:09+00:00 2026-05-31T04:12:09+00:00

I have an asp.net / C# web application running in a Windows environment. The

  • 0

I have an asp.net / C# web application running in a Windows environment.
The project builds fine and runs perfectly on my local machine’s VB.net development server.

However, when I publish to the real application server I receive the following error message:

[OracleException (0x80004005): The provider is not compatible with the version of Oracle client]
[TypeInitializationException: The type initializer for ‘Oracle.DataAccess.Client.OracleConnection’ threw an exception.]

There is a version of this application currently up and running just fine, I am testing on the live server in a different directory. I even tried snagging the Oracle.DataAccess .dll from the working application but still get the same error message.

  • 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-31T04:12:12+00:00Added an answer on May 31, 2026 at 4:12 am

    First off: The Oracle client/provider is a mess. And that goes for both the MS one (depreciated anyway) as well as the Oracle one.

    In order to connect to an Oracle DB via the ODP.NET provider three things need to be setup properly:

    • Oracle client needs to be setup properly ( has nothing to do with the .NET provider, this referring to the installed oracle client usually in c:\oracle)
    • The ODP.NET provider needs to be compatible with the installed Oracle client
    • The architecture of client and provider and your application need to match, you cannot use the 64bit client with an x86 provider/application and vise versa

    Usually the best is to have the newest version of both. But if you want to get rid of this issue once and for all use a third party oracle .NET provider.

    UPDATE

    One of the better ones is from DataDirect (no affiliation):
    http://www.datadirect.com/products/net/net-for-oracle/index.html

    It’s not just installation (no oracle client necessary), but it’s also faster, fully managed, x64 and general support is a way better than what you get with the ODP.NET one. It will cost you though.

    The DevArt one is pretty decent as well (and much much cheaper):
    http://www.devart.com/dotconnect/oracle/

    We decided for the DataDirect for extensibility reasons, this should not be relevant to you however.

    Here you can find a good compilation of third parties that build .NET providers, not limited to oracle though:
    http://msdn.microsoft.com/en-us/data/dd363565

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

Sidebar

Related Questions

I have an ASP.NET application which will be running in a web server (Windows
I have an ASP.NET web site, my machine has IIS7 running on Windows Vista
I have an ASP.NET 2.0 web application running on a shared server of a
We have a ASP.Net 2.0 web application up and running with the server in
We have a asp.net 2.0 web application that is running on IIS7. It is
I have an ASP.NET application running on multiple IIS6 web servers, with a SQL
I have a web application developed with ASP.net and C# that is running on
I have a small web application with ASP.NET AJAX running well under the Cassini
I have a ASP.NET 1.1 application running on IIS 6 / Windows Server 2003.
I'm running a Windows Azure web application (ASP.Net MVC). How do I measure the

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.