Failed to load file or assembly "xxx" or one of its dependencies.
Description: An unhandled exception occurred during the execution of the current WEB request. Check the stack trace information For more information about the error and the source of the error in your code.
Exception Details: system.badimageformatexception: Failed to load file or assembly "xxx" or one of its dependencies. An attempt was made to load a program that is not properly formatted.
SOURCE Error:
An unhandled exception was generated during the execution of the current WEB request. You can use the following exception stack trace information to determine information about the cause of the exception and where it occurred.
Workaround:
The application will be born as any CPU.
Conversely, if the system is a 64-bit Win7, the new project's build target platform should be changed to x86
(Build--Configuration Manager--Active solution platform--new--any cpu/x86)
Failed to load file or assembly "XXX" or one of its dependencies.