CSS not being applied to new site

cssiis-6

I'm so far from my main expertise I can possibly get – doing server admin and web/css.

I have 3 sites in play – Live, Beta and new test site that should resemble the New World coming. (because we're about to upgrade everything on the live/beta site – hardware, software, location). New World coming – MS SQL2008, IIS 6, MS Server2008. It will until further notice continue to run .NET 3.5.

New test site has the same source code as beta.

Beta and Live has nice CSS.
New test site are missing out on the CSS.

I found a note about checking security rights – I did, first on the themes folder and just for the IIS_IUSR, next for all folders and user Everyone (Yes I removed those rights again).

Firebug says it has found the main.css file and style.css, they are just empty. If I edit it and copy paste the css from Beta/Live I get something that resembles the right solution.

I tried starting Explorer, same issue. Tried clearing the caches (explorer and firefox) – same result.

I tried going through the server settings and copying all I find to the new site.

I have where I get the css in question

public static string CssFilePath
{
get
{
return Path.Combine
(Request.PhysicalApplicationPath
, @"App_Themes\our\main.css");
}
}

Paths are 100% identical between Live and new test site, while Beta has beta in folder name.
Live: C:\inetpub\wwwroot\our.dk\www
Test: C:\inetpub\wwwroot\our.dk\www
Beta: C:\inetpub\wwwroot\beta.our.dk\www

What I'm looking for is keywords I can google, articles that deals with why aren't the CSS being applied.

I found loads of sites describing how you can learn CSS, why this or that tag is written wrong (ex. {} pair).

Best Answer

Can you please let us know the Exact error if you are getting?