Solved

Error: The provider is not compatible with the version of Oracle client

Posted on 2009-05-05
1
1,817 Views
Last Modified: 2013-12-18
I have a VS2008 web site that is a total rebuild of one I did in VS2005. I use the ODP.NET client to connect to my Oracle 10g Database. All are the same version (patched) to 10.2.0.4. Though I am able to run the application from my development machine, I'm totally unable to get the site up and running on either my web server or my actual database server. All machines are patched up to 10.2.0.4. All machines' assembly folders have the same versions of the Oracle.DataAccess assembly.  What am I overlooking? Below is the stack trace:


OracleException (0x80004005): The provider is not compatible with the version of Oracle client
Oracle.DataAccess.Client.OracleInit.Initialize() +331
Oracle.DataAccess.Client.OracleConnection..cctor() +443


Oracle.DataAccess.Client.OracleConnection..ctor() +0
ArmylogWeb.userlogin..ctor() in D:\armylogwebdev\ArmylogWeb\userlogin.aspx.vb:5
ASP.userlogin_aspx..ctor() +14
__ASP.FastObjectFactory_app_web_tlsmyhpa.Create_ASP_userlogin_aspx() +20
System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
0
Comment
Question by:calibreinc
1 Comment
 

Accepted Solution

by:
calibreinc earned 0 total points
ID: 24309399
My apologies, turned out the third time is the charm.  I ended up deleting and resintalling ODP.NET a third time and it solved the problem.  No doubt something didn't register properly on install.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Getting multiple values from a dataset ASP.NET(VB) 3 37
ASP.NET 5 Templates 2 65
Web Form VB.Net  import CSV 4 16
Get Client IP on RDS - VB.NET 15 15
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now