Alex Rivera | Logout

403 - Forbidden on basic MVC 3 deploy on iis7.5

Asked 2011-05-15T22:17:24.743
27

Possible Duplicate:
ASP.NET MVC on IIS 7.5

I am trying to deploy a basic MVC 3 application to my 2008 R2 Server running iis 7.5 but receive a "403 - Forbidden" error trying to view my page.

I have anonymous authentication enabled, and my app pool is using the "ApplicationPoolIdentity" in integrated pipeline mode with .net 4.0. I don't know what "user" the "ApplicationPoolIdentity" is, but I've given IUSR read/write rights to the website folder.

I don't have any other authentication schemes in place, the server is not even running in a domain.

If I put a default html page in there, it loads fine. It's only my methods/controllers that I cannot get to function.

How else can I troubleshoot this?

Thanks,

Edit
Report

1 Answer

2

Two things to try:

  1. Give permission to the directory in which your website is stored to "Network Services". That's the account that is used for ApplicationPoolIdentity in Server 2008.
  2. If that fails, change ApplicationPoolIdentity to an account for which you have given explicit permissions to your website directory.
answered 2011-05-15T22:34:45.780

Your Answer