ASP.NET MVC3 In IIS 7.5

后端 未结 9 1096
别跟我提以往
别跟我提以往 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:05

    just in case these solutions did not work for someone, I ran into the same issue and finally tracked it down to a folder under my root directory named the same as an area.

    For example, I had an area named "Users" and also a folder under my root directory named the same. So "domain.com/users" was actually pointing to a folder under my root drive instead of an area.

    Hope this helps someone!

提交回复
热议问题