There is nothing wrong with configuring under Server 2008r2+iis7.5, which is recorded under SERVER2008+IIS7 configuration
For reference: http://www.cnblogs.com/fcu3dx/p/3773161.html
Modify the Web. config, and copy the code here.
Replace the corresponding settings under Web. config
<system.webServer> <validation validateintegratedmodeconfiguration="false"/> <modules runallmanagedmodulesforallrequests="true"/> "Extensionlessurlhandler-isapi-4.0_32bit"/> <remove name="Extensionlessurlhandler-isapi-4.0_64bit"/> <remove name="extensionlessurlhandler-integrated-4.0"/> <add name="Extensionlessurlhandler-isapi-4.0_32bit"Path="*."verb="get,head,post,debug,put,delete,patch,options"modules="Isapimodule"Scriptprocessor="%windir%\microsoft.net\framework\v4.0.30319\aspnet_isapi.dll"precondition="Classicmode,runtimeversionv4.0,bitness32"responsebufferlimit="0"/> <add name="Extensionlessurlhandler-isapi-4.0_64bit"Path="*."verb="get,head,post,debug,put,delete,patch,options"modules="Isapimodule"Scriptprocessor="%windir%\microsoft.net\framework64\v4.0.30319\aspnet_isapi.dll"precondition="Classicmode,runtimeversionv4.0,bitness64"responsebufferlimit="0"/> <add name="extensionlessurlhandler-integrated-4.0"Path="*."verb="get,head,post,debug,put,delete,patch,options"Type="System.Web.Handlers.TransferRequestHandler"precondition="integratedmode,runtimeversionv4.0"/>
Based on the above, the problem is still, review the "ISAPI and CGI Restrictions" for IIS and discover that there are no ASP. NET V4 items, because it is installed first, after installing IIS, so you need to re-register under. NET 4.0,win+r input:C :/windows/microsoft.net/framework/v4.0.30319/aspnet_regiis.exe-i
A duly resolved
MVC5 Web site Deployment to IIS7