I really need help with my ASP.NET MVC 2 site…
Simply put, I have a a folder Content/Photos in the root of my app. It has many pictures.
For some very strange reason some pictures load just fine on my browser but other pictures give me a 403 error:
You do not have permission to view this directory or page due to the access control list (ACL) that is configured for this resource on the Web server.
I’m completely lost here. Why would some pictures work fine and some give me this error? They are on the same folder.
Browse to the directory in Windows Explorer and set read permission for the IIS user and ensure that you set it to propagate to all children.
As to why, did you copy and paste the files from elsewhere? Could have permission from previous location.