Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. PNG images not pulling through in IIS

PNG images not pulling through in IIS

Scheduled Pinned Locked Moved ASP.NET
visual-studiowindows-adminhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Elizma
    wrote on last edited by
    #1

    Hi Clever people I have a simple question and for the life of me, just cant seem to track down the problem. When I am running my web application from the desktop in VS 2008, it reads the png image and displays it for me. The moment I copy and configure the web application in IIS still running it from VS, then the image does not pull through at all. Can anyone please tell me what I am doing wrong. BTW, it is not the image path since both starts with ../Images/test.png The only difference in the URL is that from IIS it's http://localhost/ while from the desktop it is http://localhost:1234/ Sorry if I am being an Idiot! Elizma

    A 1 Reply Last reply
    0
    • E Elizma

      Hi Clever people I have a simple question and for the life of me, just cant seem to track down the problem. When I am running my web application from the desktop in VS 2008, it reads the png image and displays it for me. The moment I copy and configure the web application in IIS still running it from VS, then the image does not pull through at all. Can anyone please tell me what I am doing wrong. BTW, it is not the image path since both starts with ../Images/test.png The only difference in the URL is that from IIS it's http://localhost/ while from the desktop it is http://localhost:1234/ Sorry if I am being an Idiot! Elizma

      A Offline
      A Offline
      Andras Fuchs
      wrote on last edited by
      #2

      Hi Elizma, I have the same problem with IIS 7 on Vista. After I modified my PNG files IIS did not refresh them, so I could see only the old version of them. As a workaround I switched to VS 2008's Development Server (Project properties / Web / Servers / Use Visual Studio Development Server) as you did. My only problem with this, that sometimes the Dev. Server handles the cookies incorrectly, I so need to switch back and forth between IIS and VS Dev. Server :-D Interestingly I had no problems on our production server. I hope we'll get a proper fix soon... Andras

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups