Hi all...
I am new to IIS 7.0 and can not understand why when my ASP.Net web site is published to the web server, using IIS 7.0, the default document specified in the web.config file is shown without any of the style set up in the CSS file.
I have a sub directory under my main web site directory called webforms where the default document is located. I have another sub directory under the main web site directory called stylesheets where the css files are located.
If I browse to the actual file in its sub directory, the CSS is shown just fine. I dont understand why the "default document" does not show the CSS although in essence it is the exact same file.
If i change the default document in the web.config to a file under the main directory (and not in a sub directory), the CSS is displayed just fine.
File structure is as follows:
-WEBSITE
---------stylesheets
-------------------- stylsheet.css
---------webforms
--------------------defaultpage.aspx