Previous Next

Thread: My website images and CSS Not Working in IIS7

Last post 03-08-2007 11:12 PM by julio_casal. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 03-07-2007, 8:46 AM

    • julio_casal
    • Not Ranked
    • Joined on 01-07-2007, 2:18 PM
    • Guayaquil, Ecuador
    • Posts 2

    My website images and CSS Not Working in IIS7

    I have a website running in Windows Server 2003 SP1. The site is in a virtual machine and it connects to a remote DB which is exposed on the internet. Now I want to take that site out of the VM and just run it in my Windows Vista (RTM) Ultimate machine on IIS7. I setup the Web Application in IIS7 and then copied all files from the virtual machine to the new virtual directory. Now, although the site runs OK with no exceptions, the problem is that I cannot see any of the images and the css files seem to have some problems, as the site loose all its styles. I suppose the problem is related to IIS7 and some setting I´m just missing.

    What can I do to make my site run on Windows Vista?

    Thanks,

    Julio

  • 03-07-2007, 3:48 PM In reply to

    • ericdeily
    • Top 100 Contributor
    • Joined on 01-19-2006, 1:48 AM
    • Redmond, WA
    • Posts 38

    Re: My website images and CSS Not Working in IIS7

    Julio -

    what error are you seeing in the browser? 

    -ericdeily
    Program Manager - IIS
    Release/Proj Mgmt & Support/Health/Instr/Tracing/Logging
  • 03-07-2007, 3:53 PM In reply to

    • ericdeily
    • Top 100 Contributor
    • Joined on 01-19-2006, 1:48 AM
    • Redmond, WA
    • Posts 38

    Re: My website images and CSS Not Working in IIS7

    there's another topic very similar to this a few threads down...http://forums.iis.net/thread/1604529.aspx.  in that thread nothing showed in the browser (blank). 

    Do you have the static file handler installed?  Also, might help to get a Failed Request Trace for the css requests.  there is a walkthrough on this site already on how to configure this. 

    -ericdeily
    Program Manager - IIS
    Release/Proj Mgmt & Support/Health/Instr/Tracing/Logging
  • 03-08-2007, 11:12 PM In reply to

    • julio_casal
    • Not Ranked
    • Joined on 01-07-2007, 2:18 PM
    • Guayaquil, Ecuador
    • Posts 2

    Re: My website images and CSS Not Working in IIS7

    Hi Eric,

    No, I didn´t have the static file handler installer. I just installed it and now everything works fine. I really didn´t know there were so much new IIS 7.0 options.

    Thanks a lot Eric.

    Regards,

    Julio

Page 1 of 1 (4 items)
Page view counter