Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 21, 2012 10:47 PM by Shammyrock
Oct 11, 2011 02:06 AM|LINK
I am using windows server 2008. My css properties are loading fine when i run from visual studio. But when i host in IIS , no CSS properties are being rendered.
No error message. Just mu header styles and colors are not loaded. Please help me on this.
I have tested on windows 7 with static content checked. No use.. I cannot find static content in windows server 2008.. Please let me know if i need to look into any other settings..
Oct 11, 2011 02:14 AM|LINK
9.9 times out of 10 this is a path issue. Can you post your CSS reference you are using in your MasterPage?
Oct 11, 2011 03:37 AM|LINK
Thanks for d reply mate
here is my link
<head id="Head1" runat="server"><link href="Styles.css" rel="stylesheet" type="text/css" /> <title>MY Title</title> <asp:ContentPlaceHolder id="head" runat="server"> </asp:ContentPlaceHolder> </head>
Oct 18, 2011 09:52 AM|LINK
You should use relative path. You can refer to the following reference.
Hope it can help you.
Dec 21, 2012 10:47 PM|LINK
For anyone having this issue. Check your IIS logs for the site and see if you are getting any 401 errors which are related to permissions. If so, add the default IIS permissions to your site folder and make sure your images folder etc... inherit it. You
need to add read and list permissions. The user to add is IUSR.