IIS 7 and Above
404.8 The request filtering module is configured to deny a path in th...
Last post Aug 17, 2009 02:55 PM by DarkAngelSentinel
Aug 14, 2009 08:43 AM|DarkAngelSentinel|LINK
Im having a few difficult problems that I have never encountered before. A bit of background, I have used IIS7 for a while, and have had no issues before. Ive run it on Vista 32 Home Premium, Vista 64 Business and
Windows 7 32 Ultimate Beta. Just recently I Installed Windows 7 64 Ultimate RC and Intended to use it as a Work Platform and since installing ive come across countless problems which I have had to solve manually step by step. I think ive gotten everything
working except for this
It seems that while using Visual Studio 2008, Any folders or subdirectories are not accessable. The only way for Images etc to load is if I remove them from the /App_Data/Images/ Folder and place them in the Parent
Directory else when I attempt to load it using IIS7 it gives me the following Error.
Ive been googling this problem and I see others have had this issue as well and I have gone into IIS7's Request Filtering Settings and confirmed that .jpg .gif and .png are NOT in the deny list and I have even added them to the list with "allow" properties
but it still does not seem to work.
Im convinced this is a permissions issue but im not sure how to proceed from here.
Aug 14, 2009 02:09 PM|Paul Lynch|LINK
Do you get the same error if you create a virtual directory called images and try to request the files from there ?
Is the name 'App_Data' listed as a 'hiddensegment' anywhere ?
Edit : The path 'App_Data' actually *is* a resricted path in IIS 7 :
Aug 17, 2009 01:39 PM|DarkAngelSentinel|LINK
Wow I cant beleive I missed that lol. Thanks!
Aug 17, 2009 02:03 PM|Paul Lynch|LINK
You're welcome. It had me scratching my head for a while.
Scarborough, eh ? I spent many a cold day on the beach there as a kid on holiday in the 1970's - unless, of course, the Scarborough you're from is in some sunny part of the world and *not* the North East of the UK ;-)
Aug 17, 2009 02:55 PM|DarkAngelSentinel|LINK
Scarborough, Ontario, Canada. Sorry, not in the UK, but still salute the same Queen :P
Now that I know what i did wrong, I vaguely remember being taught never to put images and the like in App_data as its for files not to be accessed by the public for security reasons.
Cheers + Thanks!