Getting 404.0 error for ASP.NET MVC 3 app on IIS 7.0 / Windows Server 2008

前端 未结 6 2130
不思量自难忘°
不思量自难忘° 2020-12-24 13:18

I am attempting to deploy an ASP.NET MVC 3 application to a Windows 2008 x64 server (running IIS 7.0 obviously), and IIS does not want to seem to serve up the content proper

6条回答
  •  天涯浪人
    2020-12-24 13:57

    Please make sure that you are running under IIS 7.0 Integrated mode. If you need to run it under IIS 7.0 Classic mode, you need to perform several actions to make the routes work. Please refer the following blog posts;

    http://www.tugberkugurlu.com/archive/running-asp-net-mvc-under-iis-6-0-and-iis-7-0-classic-mode---solution-to-routing-problem

    http://www.tugberkugurlu.com/archive/deployment-of-asp-net-mvc-3-rc-2-application-on-a-shared-hosting-environment-without-begging-the-hosting-company

提交回复
热议问题