c# - BadImageFormatException: Could not load file or assembly ... bad format - Only with Web Application -
i working on web application on windows 8 64 bit machine using multiple existing libraries. want utilize 2 c# dlls referencing 1 native dll. both c# dlls compiled 64bit usage , tested in test applications. web application references both c# dlls , supposed run on iis 8. added 2 c# dlls references project , native dll manually bin folder of web app. whenever build , run solution exception shown in title. know sign problem regarding 32 bit , 64 bit code running in 1 process. hence tried different build configurations result never changed.
i created console application doing i'm trying in web app , worked flawlessly. web application exact same settings throws exception, confusing me.
what tried far:
change application pool setting "enable 32-bit applications" build dlls cpu, 64bit or x86 target check corflags of dllsi can provide export of project willing help me configuration running!
i appreciate every bit of help!
i presume tried setting target platform (build alternative in project properties)? also, take @ article: http://www.codeproject.com/articles/383138/badimageformatexception-x86-i-x64
c# asp.net visual-studio web-applications dll
No comments:
Post a Comment