2 Replies Latest reply: May 13, 2013 5:47 AM by 1007986 RSS

    ODP load error

    1007986
      I downloaded and intalled ODAC 64 bit version.
      I have a .net 4.5 application, I add the reference to Oracle.DataAccess and my application compiles Ok.
      However, at run time, I have the following exeptions - errors:

      System.BadImageFormatException
      Could not load file or assembly 'Oracle.DataAccess, Version=4.112.3.0. Culture=neutral, PublicKey Token=89b483f429c47342'or one of its dependencies.

      My windows is 64 bit.
      Im using Visual Studio 2012 Express for Desktop.
      The Oracle DB is 64 bit and its Ok - I can connect with toad
      Im using ODP4.
      I add the intallation directory of ODAC & ODAC/bin to my PATH environment variable at the first place.
      The file Oracle.DataAccess.dll is copied by Visual Studio to my Project/bin/Debug directory

      Any idea of this problem??
      Thanks in advance