ASP.NET MVC3 In IIS 7.5

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

    For ASP.NET MVC 3.0 on IIS 7.5 Windows Server 2008, I found that I had to run aspnet_regiis -i from the C:\Windows\Microsoft.NET\Framework\<version> folder. This resolved the problem.

    0 讨论(0)
  • 2020-12-31 12:19

    I was receiving this error when I deployed the Microsoft tutorial application ContsosoUniversity exactly according to the tutorial guidelines (http://www.asp.net/mvc/tutorials/deployment). After trying all the recommendations of multiple posts I resolved this problem by deleting all other applications in the root directory (from within IIS Manager) and re-deploying the application. One of the other applications in the DefaultAppPool (within which it runs) must have been interfering.

    0 讨论(0)
  • 2020-12-31 12:22

    I had the same problem on Server 2008 x64 version. ASP.NET MVC3 site does not work. I check everything in IIS. The problem was solved only after turning on HTTP Redirection service in IIS role.

    For Windows 7 check this location: Windows Features -> Internet Information Services -> World Wide Web Services -> Common HTTP features -> HTTP Redirection.

    0 讨论(0)
提交回复
热议问题