Workaround:
Cause: VS2013 generated Web site, there is a place to call 32-bit DLL files, put on 64-bit server prompt error "System.badimageformatexception: Attempt to load the malformed program. (Exception from hresult:0x8007000b) ", looked at the online solution, many places are said to compile the time:
Change the default setting (any CPU) to x86, build-and-platform, Project Designer, right-click Properties. Because the "any CPU" program on the 64-bit machine will run as 64 bits, and 64 programs can not load 32-bit DLLs;
Does not solve the problem, later found in the IIS site corresponding to the application pool-the application pool default settings-enable 32-bit applications to true, problem resolution.
Turn from: 32907587
BadImageFormatException is raised when attempting to load the Oracle client library. This issue occurs if you are running in 64-bit mode with the 32-bit Oracle client component installed