« Previous Next »

Answered Thread: Images are not loading when upgraded to IIS7(2008)...

Last post 07-09-2009 10:27 PM by steve schofield. 9 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (10 items)

Sort Posts:

  • 08-12-2008, 12:31 AM

    • gtreddy
    • Not Ranked
    • Joined on 08-12-2008, 4:25 AM
    • Posts 4

    Images are not loading when upgraded to IIS7(2008)...

    We deployed a web application to weblogic server and we are using IIS as proxy web server for forwarding request to the application server and loading images and help files.

    When we upgraded to IIS 7.0, it is forwarding the request but the images are not loading.

    Could you please help me out regarding this?

     

    Thanks in advance,

    Reddy 

  • 08-12-2008, 12:34 AM In reply to

    Re: Images are not loading when upgraded to IIS7(2008)...

    I would check the status code of those requests that are not showing up... make sure the specific mimetype is configured in IIS 7.

    Check the log file for status code.

    Cheers,
    Bernard Cheah
  • 08-12-2008, 2:44 AM In reply to

    • gtreddy
    • Not Ranked
    • Joined on 08-12-2008, 4:25 AM
    • Posts 4

    Re: Images are not loading when upgraded to IIS7(2008)...

    Thanks for the quick response... 

     

    The following is the log message in the W3SVC1 log directory. 

    2008-08-12 06:38:54 ::1 GET /new711/images/infor-logo.GIF - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727) 500 19 87 156 .

    The MIME type settings are there as we have a gif/jpeg images only... 

    Even we are not able to open the image through IIS, when we are trying to access through IIS we are getting "HTTP Error 500.19 - Internal Server Error" this error message.

    With IIS5/6 we were able to open the images with IIS URL as well...

    I am not sure what we missed out or do we need any special configuration to wrok with IIS7.0.

  • 08-12-2008, 3:52 AM In reply to

    Re: Images are not loading when upgraded to IIS7(2008)...

    Mm.. 500 error for image file?

    what about if you direct access the image file? http://blalba.com/new711/images/....gif
    works?

    this is not mime type issue. can you also look at failed request tracing and see if give you more clues.

    Cheers,
    Bernard Cheah
  • 08-12-2008, 4:22 AM In reply to

    • gtreddy
    • Not Ranked
    • Joined on 08-12-2008, 4:25 AM
    • Posts 4

    Re: Images are not loading when upgraded to IIS7(2008)...

    Hi,

    When i checked in the failed request tracing logs i found the following information.

    1. Getting some problems in StaticFilemodule.

    Site 1
    Process 4928
    Failure Reason STATUS_CODE
    Trigger Status 500.19
    Final Status 500.19
    Time Taken 16 msec
    Url http://localhost:80/new711/images/calculation.gif
    App Pool DefaultAppPool
    Authentication anonymous
    User from token NT AUTHORITY\IUSR
    Activity ID {00000000-0000-0000-0600-0080000000FD}

     

     

    Getting the following warning messages....

     

     

    74. view trace Warning -SET_RESPONSE_ERROR_DESCRIPTION 
    75. view trace Warning -MODULE_SET_RESPONSE_ERROR_STATUS  StaticFileModule

    i dont have any idea what to do to get this fixed.

     Thanks for the help,

  • 08-13-2008, 4:12 AM In reply to

    • gtreddy
    • Not Ranked
    • Joined on 08-12-2008, 4:25 AM
    • Posts 4

    Answered Re: Images are not loading when upgraded to IIS7(2008)...

    I found the problem and the solution. There is some date format mismatch in the <system.webserver> <cache> httpExpires element value. I changed the date format then resolved this issue.

     

    Thanks for the help,

     

    Regards,

    Reddy.

  • 07-03-2009, 1:21 PM In reply to

    • GGeek
    • Not Ranked
    • Joined on 07-03-2009, 5:17 PM
    • Posts 5

    Re: Images are not loading when upgraded to IIS7(2008)...

     Hi Reddy

     I am also facing the image load problem in IIs7. And when i try to open the image from url in mozilla  , the image does not open , but it writes the url.

    Please suggest.

    Thanks for the help.

    Gyanesh

     

  • 07-03-2009, 8:36 PM In reply to

    Re: Images are not loading when upgraded to IIS7(2008)...

    What status does the logs show?  

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 07-09-2009, 7:32 AM In reply to

    • GGeek
    • Not Ranked
    • Joined on 07-03-2009, 5:17 PM
    • Posts 5

    Re: Images are not loading when upgraded to IIS7(2008)...

     Log in inetpub/Logs/Logfiles/W3SVC5 is :  2009-07-09 11:23:42 192.168.10.2 GET /imag/new.jpg - 80 - 192.168.10.2
     Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+WOW64;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506;+Media+Center+PC+5.0) 304 0 0 0

     Please suggest.

    Regards

    Gyanesh

  • 07-09-2009, 10:27 PM In reply to

    Re: Images are not loading when upgraded to IIS7(2008)...

    304 is logged when content hasn't changed on the client.  I'd try clearing the case locally on your pc.  Do you run some type of proxy such as ISA Server?

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (10 items)
Microsoft Communities