WIN2003 deploying the framework of the Framework 4.5 MVC4 project

Source: Internet
Author: User

[a basket of rice special thin Original, reproduced please indicate from http://www.cnblogs.com/wanghafan/p/4554672.html]

IIS6 deployment of the Framework 4.5 framework MVC4 project in Win2003, version demotion is required because Win2003 can only install Framework4.0:

1, adjust the framework of the project: Right-click the project folder, select Properties.

2. Modify the framework version of all projects for the. NET Framework 4.0.

3. Find references under All project folders, remove references to entity Framework.dll, add C:\Program Files\Microsoft Web Tools\packages\entityframework.5.0.0\ Lib inside the NET40 version of the application.

4. Locate the Web. config file and the app. Config file in all the project folder directories,

1 <configsections>  2 3 < Sectionname= "EntityFramework"type= "System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, version=5.0.0.0, culture= Neutral, publickeytoken=b77a5c561934e089 "requirepermission= "false"/>  4 5 </configsections>  

And

1 <dependentassembly>2 3 <assemblyidentityname= "EntityFramework"PublicKeyToken= "b77a5c561934e089"/>4 5 <BindingRedirectoldversion= "1.0.0.0-5.0.0.0"newversion= "5.0.0.0"/>6 7 </dependentassembly>

Changed to 4.4.0.0 in 5.0.0.0

WIN2003 deploying the framework of the Framework 4.5 MVC4 project

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.