Getting 404 error on MVC web-site

前端 未结 14 1124
暗喜
暗喜 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:24

    In addition to checking if you're running in integrated pipeline mode, make sure your application pool is set to use .NET! I recently ran into this problem, and when I went in to check the app pool settings, I found that somehow it had been set to "No Managed Code." Whoops!

    enter image description here

提交回复
热议问题