I am having this error message on the web server version of my project, the DLL reference is inside the bin folder. I do not get this message on the local/visual studio version of the project. What is the issue? Thanks.
This is a custom DLL reference by the way.
Hi Kurt,
The “BadImageFormat” exception is due to the fact that you’re trying to load a 32bit DLL in a 64bit environment, or vise-versa.
You’ll have to compile the project in regards to that DLL’s respective environment target.
HTH,
Alaa
Please login first to submit.