Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ODP.NET and Visual Studio 2010

956254Sep 26 2012 — edited Oct 2 2012
I'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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 30 2012
Added on Sep 26 2012
15 comments
1,716 views