ASP.NET 4.5 MVC 4 沒法運行在Windows2008的IIS7.0上顯示404的解決方案

須要在web.config下加上這個web

<system.webServer>spa

   <modules runAllManagedModulesForAllRequests="true"/> module

 </system.webServer>方法

若是已存在這個節點,則只要把<modules runAllManagedModulesForAllRequests="true"/>加到裏面便可co

 

該方法已驗證config

相關文章
相關標籤/搜索