?
Solved

Error Compiling ASP.NET Project Using Oracle

Posted on 2011-09-15
3
Medium Priority
?
300 Views
Last Modified: 2012-05-12
I am attempting to compile an ASP.NET/C# project that was completed by another developer, whom is no longer with the organization I am with. I have never used Oracle databases before, however I have used MS SQL Server. When I attempt to just compile the project, which is the original working code on the company intranet site, I receive the error message "Error      3      Could not load file or assembly 'Oracle.DataAccess, Version=10.2.0.100, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies.". I also have received the warning stating "Warning      1      C:\Documents and Settings\thenthorn\My Documents\Visual Studio 2008\Projects\openservices\SiteInfoSolution\SiteInfo\MasterPage.master: ASP.NET runtime error: Could not load file or assembly 'Oracle.DataAccess, Version=10.2.0.100, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. " I am able to logon to the Oracle database using a third party tool, however I am unable to compile the same code that would load the site. I am able to view  the site on the intranet, but not via the local code that I have. Any help that anyone would be able to provide would be greatly appreciated. The attached code is the web.config file causing the error. (Reference line 41 of the attached file, where the error message is occurring.
 web.config
0
Comment
Question by:thenthorn1010
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Expert Comment

by:dexterrajesh
ID: 36544384
hi,

if check if the below assembly is there in the GAC or bin as applicable

Oracle.DataAccess, Version=10.2.0.100, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies

if not install it from: http://download.oracle.com/docs/html/E10927_01/InstallODP.htm
0
 

Author Comment

by:thenthorn1010
ID: 36544535
dexterrajesh,

I am using Win XP in order to develop this ASP.NET/C# web page, and I do see the DLL for Oracle.DataAccess in the C:\windows\assembly directory. The version on the file is 2.112.1.0. Just a lucky thought, would this be causing the issue because this DLL is outdated, or too old for the version of the program I will be editing?
0
 
LVL 9

Accepted Solution

by:
dexterrajesh earned 2000 total points
ID: 36568479
its an incorrect version and hence throwing the error.. try getting the exact version installed...
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

770 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