Failed to load file or assembly "XXX" or one of its dependencies.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.