24 Şubat 2014 Pazartesi

BadImageFormatException

64 bit işletim sistemi üzerinde 32 bit oracle client kurulduğunda web uygulaması ile
oracle veritabanına erişmeye calıştığımda aldığım hata:

System.InvalidOperationException: 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 web,


Çözüm: -->  IIS ayarlarında, application pool'da Enable 32-Bit Applicaitons değerini "True" yapmak.