I learned several topics related to this problem, but I could not find an answer that worked for my problem, which is the following: I moved the Asp.Net 4.0 site to a new server (IIS 7, Windows Server 2008). It works fine on the server side, but the CSS stylesheet does not load. When I use firebug, I see the following from the side where css should be loaded
404 - No file or directory found.
The resource you are looking for may have been deleted, its name changed or temporarily unavailable.
Despite this message, I can display css content (in text) on the Internet (e.g. .. / Styles / button.css..etc)
I tried some solutions, such as mapping staticFile handlers in IIS or adding ASP roles in Server Manager (through the control panel).
Any help would be appreciated. Best regards.
source share