[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