I am using ODP.NET
in my asp.net project in order for the application to talk to oracle 11 g Express on Windows 2008 server (32 bit). While on development machine I had Windows 7 (32 bit). I installed Windows 8 (64 bit) on the development machine and tried to run the application from visual studio 2012, It gave the error 'Could not load file or assembly 'Oracle.DataAccess''. After a little search I realized that I have to install ODP.NET
(64 bit) in order to use it on 64-bit machine, so I uninstalled the 32 bit version and installed 64-bit ODP.NET. Removed the reference to old Oracle.DataAccess
but still facing the same issue. Am I missing something??
Oracle – Could not load file or assembly ‘Oracle.DataAccess’ 64 bit ODP.NET
asp.netodp.netoracle
Related Topic
- Asp.net-mvc – Could not load file or assembly Oracle.DataAccess
- .net – Could not load file or assembly ‘Oracle.DataAccess’ in 64 bit machine
- C# ODP.NET Load file or assembly
- C# – The Web Application Project […] is configured to use IIS. The Web server […] could not be found.
- C# – Could not load file or assembly ‘Oracle.DataAccess error
- C# – Could not load file or assembly ‘Microsoft.ReportViewer.Common, Version=11.0.0.0
- Oracle.DataAccess not available for selection in Visual Studio 2013
Best Answer
I had the same issue and after some trial and error I found that the issue is with 32 bit vs 64 bit platform.
Hope this helps..