Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi am trying to connect visual studio 2013 with oracle throws bad image format exception. i am running windows 7 64 bit, visual studio 2013 ultimate, oracle 11g 64 bit. please guide me how to establish database connection using ODT
I already have ODT for oracle 11.20.20 but it doesn't work...
Posted
Updated 7-Nov-17 1:34am
v2

1 solution

 
Share this answer
 
Comments
Orcun Iyigun 21-Aug-14 11:02am    
I didin't want to reply similar to your answer so this might help. Here is the link: Oracle Data Access Components (ODAC) for Windows Downloads[^].
Richard MacCutchan 21-Aug-14 11:04am    
Why are you telling me?
Sergio Balanza Sandoval 25-Aug-14 10:17am    
Nop, as I say I already have ODT with ODAC instaled

My Oracle 11g 11.2.0.2.0 64 bits

my ODT 11.2.0.2.1 x64 (There is no 11.2.0.2.0 version)

Visual Studio 2013 in Windows 7

I've the same problem as the begining. Please help me!!
Richard MacCutchan 25-Aug-14 12:06pm    
Help with what? We have no idea what your problem is, apart from "it doesn't work". Use Google to search for similar issues, or check the Oracle documentation.
Sergio Balanza Sandoval 28-Aug-14 11:28am    
Sorry about my English, that's because is not my mother language.

I've tried to work with Oracle, at first I had trouble with ODAC but then I figure out I do not need ODAC 11.20.20 the same of my Oracle XE version (Oracle 11g XE 11.2.0.2.0)

If I use VS 2013 I must install ODAC 12.X... (find the last version of ODAC instead of ODAC 11.2.0.2.0).


So I could establish connection with Oracle 11g

Now I need to make a Windows Forms application for clients in my network but I have a New error when I try to install my Windows Form Testapp.
The error says:

You can not install or run this application. You must first install the assembly
Oracle.ManagedDataAccess version 4.121.1.0 in the Assembly Cache (GAC)
I can't find one way to create windows forms app for clients in my work network

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900