ASP.NET MVC3 In IIS 7.5

后端 未结 9 1091
别跟我提以往
别跟我提以往 2020-12-31 11:47

Hi I want to publish an MVC 3 site in Windows Server 2008 R2 SP1. I installed MVC 3 and MVC 2. When I created an MVC 2 site, it worked fine but the MVC 3 site did not work.

9条回答
  •  执念已碎
    2020-12-31 12:06

    It looks like the request is going to the static file handler and is not getting into the MVC stack at all. Some things to check...

    In the config file do you have runAllManagedModulesForAllRequests set to true on the element?

    Are you running in an application pool configured for .NET 4 and Integrated Pipeline mode?

    That's all I can think of right now, but if I have other thoughts I'll update the post.

提交回复
热议问题