MVC3 RC app deployed on IIS 6 giving “403 forbidden” error

前端 未结 4 1626
忘了有多久
忘了有多久 2021-01-15 09:23

I\'ve deployed a very simple MVC3 RC app to an IIS 6 + Windows 2003 server. I\'m just getting a \"403 forbidden\" error when trying to accesss the root. Right now the app is

4条回答
  •  情话喂你
    2021-01-15 09:36

    I had the same problem with Windows Server 2003 IIS6 running a MVC4 app for the first time - in the end a .NET 4 repair (I downloaded the dotNetFx40_Full_x86_x64.exe file from Microsoft and executed it) did the trick!

    Recently I again had the same problem on a rebuilt server and this time I had forgotten to check Web Service Extensions (bottom "folder" in IIS6) and found that ASP.NET v4 was Prohibited. I changed it to allowed, restarted IIS Admin Service from Services and it started working.

提交回复
热议问题