I just installed Windows 8 on my computer and tried to load my ASP.net application. The page loads with no problems. But none of the images or stylesheets that are located i
I had a stupid moment. I didn't check the Static Content check box under the Common HTTP Features group of the IIS configuration.
What worked for me:
Turning on all the features under Common HTTP Features. I did not check this while installing Windows 8.
Please refer this article:
http://gurustop.net/blog/2009/10/12/funny-problem-windows-7-iis-7-5-images-css-not-showing/
Are you running the application through Visual Studio or have it setup in IIS? If you are using Visual Studio to run it, by hitting F5, then you can try this in the web.config to allow anonymous users to access that folder:
<location path="App_Themes/Default/MyFile.css">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>