Forum Moderators: open
I am making a web site with master page in C#. I am using membership, Roles and Profile. I have a theme named Green. In my web.config I did
<pages theme=" Green" />My default page is Login.aspx. When I run the application the theme is not being applied to the Login.aspx but when I log in it is being applied to all other pages.
I want the theme to be applied to all other pages including Login.aspx when I run the application.
Can someone please help me out?
IIS 7 has the ability to filter all files, including static files which often make up the theme content. So if the user is not loged in, they might not have access to the themed files.
Just a thought. I ran into a similar problem with embedded JavaScript files, since my custom authentication handler denied access to WebResource.axd since the user was not logged in.