Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Oracle
Server Error in '/' Application.
Could not load file or assembly 'Oracle.DataAccess, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Oracle.DataAccess, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.
 
Source Error:
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
 
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Oracle.DataAccess, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342' could not be loaded.
 

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
 

 

 

 

 

 

This is the error i am getting . plz help me
Posted 9-Oct-12 22:54pm
Edited 10-Oct-12 3:05am
v3
Comments
Wes Aday at 10-Oct-12 7:45am
   
Yes... and? The error message is perfectly clear. What exactly do you need help with?
ramkumarchandran at 10-Oct-12 8:51am
   
I am also getting same error. Oracle database in win2008 server, the application is developed in win7 64 bit machine with oracle client in VS 2010. when i move published application to server. i'm getting the same error. i changed enable 32bit application to true also. but still i'm getting same error. there is no problem with oracle listner. bcos other application are running well.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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

 
in this case, you need to add this particular dll to your project, make sure that you are using the correct version.
You can simply right click on project --> Add reference -- > .net
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CPallini 405
1 Sergey Alexandrovich Kryukov 262
2 OriginalGriff 165
3 George Jonsson 134
4 Richard MacCutchan 110
0 OriginalGriff 6,344
1 Sergey Alexandrovich Kryukov 5,890
2 CPallini 5,175
3 George Jonsson 3,559
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 10 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100