Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

'Oracle.DataAccess, Version=2.111.6.20 System Cannot Find the File Specified

Posted on 2009-02-20
2
Medium Priority
?
6,642 Views
Last Modified: 2013-11-16
I am trying to run a program that was developed by another party.  The program is a C#.NET application that was developed against an Oracle 11 database and Oracle 11 Client/SDK.  The machine I need to run the program on has an Oracle 10g client and when I try to run the program I get the following unhandled exception:

System.IO.FileNotFoundException: Could not load file or assembly 'Oracle.DataAccess, Version=2.111.6.20, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.

It appears that the application is looking for a specific version of the Oracle DLL but I do not understand why.  Is there a way to make the application work with the Oracle 10g client?

Thanks for your thoughts,
0
Comment
Question by:MedtronicVascSR
1 Comment
 
LVL 48

Accepted Solution

by:
schwertner earned 500 total points
ID: 23895892
Oracle Forums say:

1) Close Visual Studio

2) Copy over the MSVCR71.dll from
%ORACLE_HOME%\oui\lib\win32 to %ORACLE_HOME%
After installing ODAC 11g on a machine with Visual Studio 2005 and/or Visual Studio 2008:

..where %ORACLE_HOME% would be the directory where you installed ODAC 11g, for example C:\app\user1\product\11.1.0\client_1


3) Restart Visual Studio, and attempt to use ODT.


Please let me know if this fixes your problem!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Salesforce.com is a cloud-based customer relationship management (CRM) system. In this article, you will learn how to add and map custom lead and contact fields to your Salesforce instance.
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows how to recover a database from a user managed backup
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

578 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