[ASPNET4]Problem Solved: CSS file cannot be accessed

15. November 2011

Every several weeks I was haunted by this annoying problem and waste my life for hours!!! This time, I am gonna file it down for future and also others.

Symptom:

Site.css file under "Styles" folder cannot be accessed

And, page will be appeared like this:

Even after the following code have been added in the web.config file:

And even after the identity of application have been set to Administrator:

Solution:

Add Users account to the permission list

When will we encounter such a problem:

When we deploy the project file in User folder in c:/ drive or in a Mesh share folder

And

Result:

ASPNET

Comments

12/31/2011 1:29:39 AM #
wow,well good
12/31/2011 10:39:15 AM #
Good, site have learned more through this site than I have through months of reading search engine optimisation and reading how to gain links books. Prehaps you can give me me some advice on how to get my wiltshire based web company to the top of search engines - help to get me comments/links and to my site?
1/4/2012 11:01:18 PM #
Your work is very good and I appreciate you and hopping for some more informative posts.
1/7/2012 10:50:39 PM #
sorry for the several content... but wish there was a php value money here
1/10/2012 11:06:21 PM #
Great looking site I really love the appearance of your website.Your articles are also just amazing. I loves to read it.
1/12/2012 3:05:12 AM #
Great share, Thanks
1/14/2012 11:23:08 PM #
I am really enjoying reading your well written articles. I think your blog posts looks unique and informative.
1/18/2012 10:06:38 AM #
Nice post. I was checking constantly this blog and I am impressed! Extremely helpful info specially the last part  I care for such information a lot. I was seeking this particular information for a long time. Thank you and good luck.
1/20/2012 11:54:42 PM #
Very Informative And Helpful Blog. I Really Like Your Post. Keep Sharing....

1/22/2012 2:57:52 PM #
I'll add this blog to my favorites, it truly is great.
1/31/2012 2:23:28 AM #
This has been helpful, thanks
2/9/2012 5:31:16 AM #
Great blog here! Also your web site loads up very fast! What web host are you using? Can I get your affiliate link to your host? I wish my website loaded up as quickly as yours lol
2/10/2012 2:32:11 AM #
Such an interesting article. I really like it. Thanks a million for sharing.
2/10/2012 5:23:50 AM #
Thank you for the solution. I didn't know why it doesn't work.
2/17/2012 9:00:59 AM #
I had that problem in the past... just reload the css file... it is related to the unicode format
2/20/2012 5:06:34 AM #
I will always wake up early to cview the comments of this blog thanks for supporting this page

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading