?
Solved

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

Posted on 2009-05-05
1
Medium Priority
?
1,832 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

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
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 syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses
Course of the Month16 days, 3 hours left to enroll

850 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