RobinHood
RobinHood

Reputation: 2397

IIS Deploy - Attempt to load Oracle client libraries threw BadImageFormatException

I had deployed my 2.0 application in IIS 7. Its a 64 Bit Machine. The application developed in 32 Bit Machine. Once i browse the application i am gettting the error like

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.

How to fix this.. I had searched google, but i dint get any solution.

Upvotes: 2

Views: 1543

Answers (1)

leppie
leppie

Reputation: 117230

In IIS manager, go to the app pool settings. Then set 'Allow 32-bit application' to true. Restart the app pool or IIS.

Upvotes: 2

Related Questions