Getting 404 error on MVC web-site

前端 未结 14 1125
暗喜
暗喜 2020-12-06 05:49

I have an IIS7.5 web-site, on Windows Server 2008, with an ASP.NET MVC2 web-site deployed to it. The website was built in Visual Studio 2008, targeting .NET 3.5, and IIS 5.1

14条回答
  •  日久生厌
    2020-12-06 06:25

    Don't use runAllManagedModulesForAllRequests. You want to let IIS handle resources such as images.

     
      
    
    

    Instead add the MVC routing module

    
      
        
        
      
    
    

提交回复
热议问题