This exception is generally thrown when the file image of a dynamic link library (DLL) or an executable program is invalid.
Cause of BadImageFormatException[
^]
This may occur on a 64 bit machine running .net 2.0. DotImage assemblies have unmanaged code in them, so they always need to be run in the 32 bit runtime. "BadImageFormat" is referring to the format of the dll, it means .net tried to load a 32bit only assembly into the 64 bit runtime.
Read the thread from given link
http://support.leadtools.com/CS/forums/32979/ShowPost.aspx[
^]