Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi am trying to connect visual studio 2013 with oracle db.it throws bad image format exception.
i am running windows 7 64 bit, visual studio 2013 ultimate, oracle 11g 64 bit.
please guide how to establish database connection. do i have to download odp.net.

thanks in advance
Posted

 
Share this answer
 
Comments
Member 10476713 23-Dec-13 13:15pm    
Hi i did the above mentioned steps already but in in visual studio 2013 while trying to connect to oracle db it throws an bad image format exception this is guess happens only in 2013 version. please help me with it.
Maciej Los 23-Dec-13 14:30pm    
Please, post full error message.
Member 10476713 26-Dec-13 7:01am    
thanks for your quick reply maciej los
Hi,

The issue is am running visual studio 2013 i am trying to connect to oracle 11g 64 bit.
while trying to establish connection it throws error saying BadImageFormatException.

This issue is resolved by installing the latest odp.net tools with odac.
 
Share this answer
 
Comments
Jörgen Andersson 27-Dec-13 16:02pm    
Visual studio is a 32 bit program and can therefore not use a 64 bit Oracle Client.
When you installed the odp.net tools you got the 32 bit version of the Oracle client software.

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