title: Images not showing on published ASP.NET MVC Website
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5575535/images-in-css-not-showing-in-asp-net-mvc">Images in CSS not showing in ASP.NET MVC</a>  </p>
  </blockquote>
  
  
  
  <p>I have already asked this but didn't receive an answer that fixed it.  I'm asking again because I have tried everything I can think of and am absolutely stuck.  My previous question was here: <a href="https://stackoverflow.com/questions/5575535/images-in-css-not-showing-in-asp-net-mvc">CSS images not showing in ASP.NET MVC</a></p>
  
  <p>I have an ASP.NET MVC application with images in an ~/image/ directory.  When I run it in development, the images show fine.  When published, they do not show at all.  I don't think it is a reference path issue because I've tried every combination of ../, ./, ~/, etc. I can think of.  Neither css references, <code>&lt;img&gt;</code> or <code>&lt;asp:Image&gt;</code> tags work and all have the same problem.  I've tried editing windows security on the image and all parent folders to no avail.</p>
  
  <p>When I mouse over the image path in firebug, the image preview box just spins as though the image is found but can't load.</p>
  
  <p>The very strange thing is that when I try to go to the image directly (www.web.com/images/image.png), I am redirected to the default log in page.  The default account controller that ASP.NET MVC puts in projects is in my app, but I have not implemented any log in controls yet.  So I think it's an issue with authentication.  Or perhaps it is an IIS issue?</p>
  
  <p>I appreciate any help you can give.  I have been stuck on this for almost a week and may have to abandon images all together I can't get this sorted.</p>