Quantcast
Channel: Configuration and Deployment
Viewing all articles
Browse latest Browse all 3561

IIS unable to display static file

$
0
0

hi all,

my website is running fine and untill recently i added a new image into the image directory. and it doesn't display to the client. when i press ctrl+f5 all the images are gone from the website. reliase that all the while i have been seeing the pic from local cache.

i have check the MIME type, i have added the .png, jpg, .gif correctly, i have added to allow=* for image directory in web.config.

when i type http://localhost/systemdir/images/logo.png in server it show the red X box and if in firefox it shows imagehttp://localhost/systemdir/images/logo.png  can not be display because it contains error.

however when i type c:\inetput\wwwroot\systemdir\images\logo.png in server it shows the image correctly.

i restarted the IIS, click all the features related to web in the features setting, set the MIME for that directory but it still not working

can any kind soul suggest what else can I do to solve this? had spent 8 hours on thisCry


Viewing all articles
Browse latest Browse all 3561


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>