Issue with System.Data.OracleClient -64 bits operating system

Posted by Nagababu under Visual Studio on 6/18/2013 | Points: 10 | Views : 2684 | Status : [Member] | Replies : 1
Hi All,

I have developed one windows service & win form application for save the XMl message into Oracle Tables.In XP with 32 bit operating system,it is working fine by using System.Data.OracleClient classes.

In Windows 7 with 64 bit operating system i am getting below error.I have changed projects build properties from 64 bit to 32 bit.But i am unable to insert records into Oracle Tables.


Error in inserting in Drug Catalog : Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.



Posted by: Vuyiswamb on: 6/27/2013 [Member] [MVP] [Administrator] NotApplicable | Points: 25

if i remember correctly the Oracle namespace have been removed in .NET , you need to use OleDB

Thank you for posting at Dotnetfunda

Nagababu, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response