« Previous Next »

Thread: Page doesn't render css and jpg files

Last post 01-08-2009 10:19 AM by abais. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 01-08-2009, 7:06 AM

    • abais
    • Not Ranked
    • Joined on 01-08-2009, 6:21 AM
    • Posts 2

    Page doesn't render css and jpg files

    Hi

    I have this problem. I'm trying to migrate an existing ASP.NET app from IIS 6 to IIS 7 running on Vista Business SP1.

    It uses css for styling and a jpg background image.
    -Neither shows or renders.
    -I have installed support for static files under controlpanel

    The image and css files are in folders but the NETWORKSERVICE user does have read permission

    I would like my ASP.NET code to handle the css and jpg files. Wonder if it is a problem regarding the IIS handlers?

    furthermore I have added the new tags for handlers and modules in the web.config file

    I have googled this problem 'til my fingers bled - really hope some of you guys can help me out

    /abais

  • 01-08-2009, 9:12 AM In reply to

    Re: Page doesn't render css and jpg files

    Test with a simple Hello World type of page.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 01-08-2009, 10:19 AM In reply to

    • abais
    • Not Ranked
    • Joined on 01-08-2009, 6:21 AM
    • Posts 2

    Re: Page doesn't render css and jpg files

    jeff@zina.com:

    Test with a simple Hello World type of page.

    Jeff

    Did that using both css and jpg images. And it worked like a charm.

    Still same problem with the "big" web app

    [EDIT] FYI: When specifying direct path to jpg image, it is displayed in the browser. When specifying direct path to css file it opens in notepad. So they do exist.

Page 1 of 1 (3 items)
Microsoft Communities