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!

Oracle.DataAccess.dll issue with windows 7 32 bit and .Net 4

946366Aug 10 2012 — edited Mar 19 2013
Hello,

I will try to make it simple :

I have a .Net program that is using Oracle.DataAccess.dll (I mean, I really use classes that are specific to that dll, if I switch to .net System.Data.OracleClient, I cannot compile anymore).
This program is executing a Package on an oracle 10G database.

My development environment is a windows 7 64 bits.
The version of the DLL is *4.112.3.0* (the 32 bit one ( ODAC 11.2 Release 4 (11.2.0.3.0) the XCopy version (http://www.oracle.com/technetwork/database/windows/downloads/utilsoft-087491.html))
My program is targeting to x86 CPU (because the users here are running XP or 7 32 bits).

My program is working fine on my development machine.

Once I copy the exe and the dll on a windows 7 32 bits, I got an exception when opening the connection to the Database.

If I install the ODAC 11.2 Release 4 (11.2.0.3.0) with Oracle Developer Tools for Visual Studio on the machine, my program works fine !

The issue is : we don't want to install that client on all the computers in the company.
We want that the program works with the embedded DLL.

I tried to register the dll in the GAC (the GAC of the .net 4 located in C:\Windows\Microsoft.NET\assembly\GAC_32 -> not working

Do you have an idea ?
For me the program should have everything he needs with the Oracle.DataAccess.dll....

Thanks in advance !
This post has been answered by Alex Keh-Oracle on Aug 10 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 16 2013
Added on Aug 10 2012
12 comments
6,341 views