MVC3 RC application deployed on IIS 6 giving the "403 Forbidden" error

I deployed a very simple MVC3 RC application on IIS 6 + Windows 2003 server. When I try to access the root, I get the "403 forbidden" error. Right now the application is only one page, so there are no others to try.

I noticed that root is not using default.aspx to handle default requests, maybe this could be a problem? Or is there some special configuration for IIS 6?

+2
source share
4 answers

It depends. If you use routes without extension, then yes there is a special configuration .

+3

MVC3 RC IIS6.0 + win2003,

, , , - intall.net framework4.0. . Haacked: http://haacked.com/archive/2010/12/22/asp-net-mvc-3-extensionless-urls-on-iis-6.aspx

+4

I had the same problem with Windows Server 2003 IIS6 starting the MVC4 application for the first time - in the end, repairing .NET 4 (I downloaded dotNetFx40_Full_x86_x64.exe from Microsoft and ran it) did the trick!

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

0
source

All Articles