1 Reply Latest reply: Jul 16, 2013 4:44 PM by gdarling - oracle RSS

    Could not load file or assembly 'Oracle.DataAccess, Version=2.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. An attempt was made to load a program with an incorrect format.

    dcf39e12-edcc-484b-bcd9-e810b785f81a


      Hi,

       

      I have Visual Studio 2008 & .NET FRAMEWORK 2.0 at my laptop & OS is Windows 7. Recenly I have installed ODAC1120320_x64 in my laptop. I have added the  

      Oracle.DataAccess dll to my project web site as a reference & able to build the application successfully. However, If  I run the application then I'm getting the below error:

      Could not load file or assembly 'Oracle.DataAccess, Version=2.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. An attempt was made to load a program with an incorrect format.

       

       

      What is the problem I am not able to find out?

      1. Do I need to install ODTwithODAC1120320_32bit in my laptop which has windows 7 OS instead of 64-bit ODAC1120320_x64?

      2.Is Visual Studio having problem to load 64-bit ODP.net dll?

       

      Please help. Thanks in advance.