Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The provider is not compatible with the version of Oracle client

897991Dec 14 2011 — edited Feb 9 2012
Hello,

I'm having a problem getting my Web APP to work on our new production server (Windows Server 2008 R2 - 64 bit).


My App was developed on a 32-bit machine so I'm thinking it's definitely a dll issue but I'm out of ideas (The app works if I put it on our Dev server 32-bit). Here is what I've got so far:

-Oracle 11g Database (11.2.0.2.0)

-Web App designed in Visual Studio 2008

-web.config:
<add assembly="Oracle.DataAccess, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89B483F429C47342"/>

-Oracle.DataAccess.dll is in Bin folder of my web app.

-IIS7 Application pool set Enable 32-Bit Applications = True

-C:\Windows\assembly:
Oracle.DataAccess 2.11.2.0 is there


When I go to the login page of my web app, the page shows up fine. When I try to login, I get the Following Error:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --->
System.TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleDataAdapter' threw an exception. --->
Oracle.DataAccess.Client.OracleException The provider is not compatible with the version of Oracle client at Oracle.DataAccess.Client.OracleInit.Initialize()

Any help on this matter would be greatly appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 8 2012
Added on Dec 14 2011
2 comments
12,358 views