ODP.NET and Visual Studio 2010
956254Sep 26 2012 — edited Oct 2 2012I'm trying to start fresh with Visual Studio 2010 and want to use ODP.NETboth in a x64 environment in development and on the server. I have installed 11G 11.2 on my Windows 7 laptop so the Oracle.DataAccess.dll version in odp.net/bin/2.x is 2.112.1.0. I created a brand new empty .NET web application for .NET framework 4 and then set the build to be x64 and then added the dll as a reference. It builds ok but when it runs it says "Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies.
From what I've read, that happens when you are mixing 32 and 64 bit. I have confirmed with dependency walker that Oracle.DataAccess.dll is 64bit.
Any ideas?
Edited by: bennettaj on Sep 26, 2012 12:21 PM