Link to home
Create AccountLog in
Avatar of Donald Whittemore
Donald WhittemoreFlag for United States of America

asked on

Secure site not using styles

Using VS 2010 I built a site using the ASP web app template.  I wanted to use the security features so I added the following to the web.config
<authorization>
      <deny users="?" />
    </authorization>

It all works in that I immediately get the login challenge and if I logout I am taken to the login page again.

The problem is the login page is not using the site.css. After I login everything is fomated fine.  When I logout out the login page is again not using site.css.

Do I have to add something in the Account folder?
ASKER CERTIFIED SOLUTION
Avatar of Luis Pérez
Luis Pérez
Flag of Spain image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of Donald Whittemore

ASKER

The stackoverflow suggestion worked. Thanks