IIS7 returns 403.1 (execute access denied) for image file
- by Kristoffer
I have a web app running in IIS7 on Windows Server 2008. There is a virtual directory pointing to a shared folder "/Content/Data" on another machine (running Windows Server 2003), as well as a real directory "/Content/Images" on the local machine (web app sub folder).
Accessing images in "/Content/Images" is no problem, but when an image (e.g. a JPEG file) in the "/Content/Data" is accessed by a browser, IIS returns this error:
HTTP Error 403.1 - Forbidden: Execute
access is denied.
However, the web app can read and write to / from it. I assume IIS and ASP.NET are running under different user accounts?
Does anyone have an idea on what I have to do to make it work? I have set the permissions on the shared folder to Everyone Full Control, with no luck.