BadImageFormatException: cocould not load file or assembly or one of its dependencies., formatexception
/* By Jiangong SUN */
If you have met this exception: cocould not load file or assembly '{Library_Name}, Version = 0.0.0.0, Culture = neutral, PublicKeyToken = {Token}' or one of its dependencies. tentative de chargement d' un programme de format incorrect.
It means the dll that you have referenced is notCompatibleWith your project's build configuration likePlatform, OrPlatform target.
If your the reference library is 32 bit, you need to make sure your platform and platform target is x86.
If your the reference library is 64 bit, you can configure the platform and platform target as Any CPU.
Once all these information are consistent, try to rebuild and rerun the project .:)
Enjoy coding!
Reference:
Http://stackoverflow.com/questions/11370344/could-not-load-file-or-assembly-an-attempt-was-made-to-load-a-program-with-a
Iis configuration error
Is there a problem with the program? Change the OK program and try IIS again.
Cocould not load file or assembly 'momimplementation' or one of its dependencies system cannot find the specified file
Start -- run -- msconfig -- start option -- remove the corresponding MOM...