PNG images not pulling through in IIS
-
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
-
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
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