|
-
Apr 9th, 2012, 03:18 PM
#1
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
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
Apr 9th, 2012, 04:14 PM
#2
Re: CSS Does Not Load In Production Environment
what happens when you access the css resource directly?
-tg
-
Apr 9th, 2012, 04:22 PM
#3
Re: CSS Does Not Load In Production Environment
 Originally Posted by techgnome
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
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
Apr 9th, 2012, 10:01 PM
#4
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?
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Apr 10th, 2012, 08:59 AM
#5
Re: CSS Does Not Load In Production Environment
 Originally Posted by sapator
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
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
Apr 10th, 2012, 07:49 PM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|