1

I have IIS 7.5 running my local dev site. My problem is the images are not displaying and in the browser console i receive a 404 error for them. I have checked the Handler Mappings and have 'StatticFile'. I've also got Common Http features, and checked "Static Content".

Can anyone help with my problem please?

EDIT

Heres a line from my log file in inetpub:

2014-09-16 08:21:38 127.0.0.1 GET /images/eclipse/favicon.ico - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.1)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/37.0.2062.120+Safari/537.36 404 0 2 4

EDIT what the console in the browser displays:

GET https://www.dev.mysite.net.uk/images/eclipse/spacer.gif 404 (Not Found) index.cfm?id=myeclipse&relocate=1:449
6
  • is this just affecting favicon files or all images?
    – rob
    Sep 16, 2014 at 9:42
  • @rob both favicon and all images
    – user667430
    Sep 16, 2014 at 9:47
  • add a robots.txt or similar plain text file to the root can you browse to that? Then try the same with an image in root.
    – rob
    Sep 16, 2014 at 9:49
  • @rob yes i can navigiate to both an image and text file fine when placing them in the root
    – user667430
    Sep 16, 2014 at 9:55
  • Have you checked the NTFS permissions on the problem directory? Compare them to a directory from which you can serve files of the same type. Also, I hope that the log file entry and the browser console entry do not refer to the same request. Sep 16, 2014 at 10:27

0

You must log in to answer this question.

Browse other questions tagged .