About MVC4 project from 32-bit machine to 64-bit machine compile error solution

Source: Internet
Author: User
Tags parse error

This morning, I wrote an MVC webapi demo environment: XP sp3+ VS2010 + asp. MVC4

And then take back the notebook in the evening to compile and run, the result error is as Follows:

Server Error in "/" Application. Parser Error

description: An error occurred while analyzing the resources required to provide service to this Request. Please check the following specific parse error details and modify the source file as Appropriate.

Parser Error Message: the type ' EasyFactoryWeb.WebAPI.WebApiApplication ' could not be loaded.

Source Error:

Line 1:  <%@ application codebehind= "Global.asax.cs" inherits= "EasyFactoryWeb.WebAPI.WebApiApplication" Language = "c #"%>


source file: /global.asax line: 1

version Information: Microsoft. NET Framework version: 4.0.30319; asp. Net Version: 4.0.30319.18408

Then search the online information, find the correct solution, refer to the following links:

Http://www.jb51.net/article/31711.htm

Because my WIN7 is 64-bit +vs2013.

All the solutions from any CPU to x86 and then compile the normal appearance of the home page, should be as mentioned in the article may refer to some 32-bit DLLs so to change otherwise DLL type does not match it

About MVC4 project from 32-bit machine to 64-bit machine compile error solution

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.