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?
Re: CSS Does Not Load In Production Environment
what happens when you access the css resource directly?
-tg
Re: CSS Does Not Load In Production Environment
Quote:
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.
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?
Re: CSS Does Not Load In Production Environment
Quote:
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!
Re: CSS Does Not Load In Production Environment