locked
Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format. RRS feed

  • Question

  • User-896590643 posted

    I have this issue on my local machine  when Im trying to debug my application on localhost.

    just i have converted my application 3.5 to 4.0 framework .I ahave added the  reference of Oracle DataAccess dll 4.0 - Version-2.112.2.0

    when i deploy my application on IIS then its working fine. also i set the 32 bit enable= true in application pool.

    Monday, May 11, 2015 2:24 AM

All replies

  • User269602965 posted

     Oracle DataAccess dll 4.0 - Version-2.112.2.0

    I usually put my data access dll in the /BIN folder of my apps and make local reference to it

    It is helpful to have the same version of the Oracle Client installed on your local test and IIS server.

    And of course, there are 32-bit and 64-bit versions of the Client and the Oracle Data Access Components

    Monday, May 11, 2015 1:49 PM
  • User-369506445 posted

    hi

    your problem is depend to 32bit or 64bit, please try both of them dll

    Tuesday, May 12, 2015 11:32 AM