MVC startup Failure The view at "~/views/home/login.aspx" must derive from ViewPage, viewpage<tmodel>, view

Source: Internet
Author: User

With regard to SVN management code, there are always a variety of problems after different developers submit their code.

Today there is such a wonderful problem, such as:

A variety of Baidu search, and finally found a buddy wrote an article about this mistake the correct solution: Change the reference version of MVC in the references. Such as:

After looking at the SVN log records found that the original colleague used the 2013 version of VS submitted this file, and I myself use the version of VS2010,MVC is 2.0 version, and the configuration is a colleague submitted by the 4.0 version, and thus error.

MVC startup Failure The view at "~/views/home/login.aspx" must derive from ViewPage, viewpage<tmodel>, view

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.