IIS7 returns 403.1 (execute access denied) for image file

Posted by Kristoffer on Server Fault See other posts from Server Fault or by Kristoffer
Published on 2010-02-18T09:26:51Z Indexed on 2010/04/30 14:09 UTC
Read the original article Hit count: 571

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.

© Server Fault or respective owner

Related posts about iis7

Related posts about sharedfolders