Results 1 to 6 of 6

Thread: CSS Does Not Load In Production Environment

  1. #1

    Thread Starter
    Wait... what? weirddemon's Avatar
    Join Date
    Jan 2009
    Location
    USA
    Posts
    3,826

    CSS Does Not Load In Production Environment

    In my development environment, my CSS loads perfectly. But when I publish the files to the server, the CSS no longer loads.

    Originally, when I had this problem, it was because I was denying access to unknown users for all directories. It was also occurring in both environments.

    When I fixed that, the CSS started working just fine. But when I publish it to the server, it no longer works.

    The website appears to function. I can log in, navigate pages and everything. It's just that the CSS doesn't work.

    I checked the permission on the directory and it has access to NETWORK SERVICE, the admin account and IIS_IUSRS.

    Anyone have any other ideas?
    CodeBank contributions: Process Manager, Temp File Cleaner

    Quote Originally Posted by SJWhiteley
    "game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: CSS Does Not Load In Production Environment

    what happens when you access the css resource directly?

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Wait... what? weirddemon's Avatar
    Join Date
    Jan 2009
    Location
    USA
    Posts
    3,826

    Re: CSS Does Not Load In Production Environment

    Quote Originally Posted by techgnome View Post
    what happens when you access the css resource directly?

    -tg
    You mean just open up the CSS file? It opens. I can access it. I just double checked.
    CodeBank contributions: Process Manager, Temp File Cleaner

    Quote Originally Posted by SJWhiteley
    "game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....

  4. #4
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: CSS Does Not Load In Production Environment

    Have you clear the cache,restarted the server and make sure that the CSS reference in your markup is correct?Have you also checked with another browser?
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  5. #5

    Thread Starter
    Wait... what? weirddemon's Avatar
    Join Date
    Jan 2009
    Location
    USA
    Posts
    3,826

    Re: CSS Does Not Load In Production Environment

    Quote Originally Posted by sapator View Post
    Have you clear the cache,restarted the server and make sure that the CSS reference in your markup is correct?Have you also checked with another browser?
    Perfect! Clearing the IIS cache is what did it. Thanks!
    CodeBank contributions: Process Manager, Temp File Cleaner

    Quote Originally Posted by SJWhiteley
    "game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....

  6. #6
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: CSS Does Not Load In Production Environment

    No problem
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width