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...

enter image description here

what returned fiddler...

enter image description here

what causing website not able access files there?

thanks, gary


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -