Could not load file or assembly ' SYSTEM.WEB.MVC ' or one of its dependencies. The located assembly ' s manifest definition does not

Source: Internet
Author: User

Because of MVC, there is no problem locally, but this is the problem with deployment on the server.

Error interface such as

Cause Analysis: The above error prompts the last sentence translated. The found assembly manifest definition does not match the assembly reference. The assembly version and server version referenced by the program are inconsistent. For example, my MVC version is 3.0.1, but the running version is 4.0. The Web server is loaded with MVC3, not mvc4.

You must ensure that the program application pool version of the site is consistent with the version of the Assembly running. So the server needs to install mvc4.0

Workaround: Install mvc4.0 on the Web server

Could not load file or assembly ' SYSTEM.WEB.MVC ' or one of its dependencies. The located assembly ' s manifest definition does not

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.