IIS 8.5 website receiving a 404 error when trying to load images and css files -
i have new website created using mvc 5. when test in visual studio works great, images loaded , css files applied. after publishing website , deploying it, website can not find of images or css files. seems different other posts i'm receiving 404 file not found , not 401 access denied. have verified files there, added iis_iusrs , application pool full access on folders make sure wasn't issue.
the server windows server 2012 , version of iis 8.5. there 10 other websites, of none of them having same problem shouldn't issue static content handler.
here code display image...
<div style="background-color: #495050"> <br /> <br /> <br /> <br /> <img height="150" style="margin:0px auto;display:block" src="~/images/guru-dental-slogan-white.png"> <hr width="800" style="color: white" /> <br /> <br /> <center><strong style="color: #00b3d6; font-size: 40px">let... </strong></center> <center><strong style="color: #00b3d6; font-size: 40px">diagnosed... </strong></center> <br /> <br /> <br /> <br /> </div>
root folder of website...
what returned fiddler...
what causing website not able access files there?
thanks, gary
Comments
Post a Comment