Home All Groups Group Topic Archive Search About
Author
16 Dec 2005 8:43 PM
Houston Lucifer
Hi all, i have a login form which has a master page. I have style sheet for
the master page. But, the login form doesn't inherit that style. All other
forms inherit the master page style. Is there something that i am missing?

Thanks

Author
17 Dec 2005 4:34 AM
clintonG
I created a new login.aspx file and made sure it was declared in the
web.config. My problem went away.

<%= Clinton Gallagher
         METROmilwaukee (sm) "A Regional Information Service"
         NET csgallagher AT metromilwaukee.com
         URL http://metromilwaukee.com/
         URL http://clintongallagher.metromilwaukee.com/


Show quoteHide quote
"Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
message news:81EAFEBD-7751-4F1B-98B3-6713A8289EFF@microsoft.com...
> Hi all, i have a login form which has a master page. I have style sheet
> for
> the master page. But, the login form doesn't inherit that style. All other
> forms inherit the master page style. Is there something that i am missing?
>
> Thanks
Author
18 Dec 2005 12:25 AM
Houston Lucifer
What i found out was the style doesn't appear until i login to the
application (i am using Forms authentication). Somehow the style doesn't show
up when it is anonymous login. Don't know why.

Show quoteHide quote
"Houston Lucifer" wrote:

> Hi all, i have a login form which has a master page. I have style sheet for
> the master page. But, the login form doesn't inherit that style. All other
> forms inherit the master page style. Is there something that i am missing?
>
> Thanks
Author
18 Dec 2005 2:39 AM
clintonG
See what happens when you implement the following in your web.config and
follow through as needed if implementing Roles...

<!--
ANONYMOUS IDENTIFICATION
=====================================================================================
http://msdn2.microsoft.com/en-us/library/91ka2e6a
-->
<anonymousIdentification enabled="true"
    cookieless="UseDeviceProfile"
    cookieName=".ASPXANONYMOUS"
    cookiePath="/"
    cookieProtection="All"
    cookieRequireSSL="false"
    cookieSlidingExpiration="true"
    cookieTimeout="30"
    domain="eaxmple.com"/>


--
<%= Clinton Gallagher
         METROmilwaukee (sm) "A Regional Information Service"
         NET csgallagher AT metromilwaukee.com
         URL http://metromilwaukee.com/
         URL http://clintongallagher.metromilwaukee.com/





Show quoteHide quote
"Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
message news:60DC2C62-8A15-4198-8436-4227712B401F@microsoft.com...
> What i found out was the style doesn't appear until i login to the
> application (i am using Forms authentication). Somehow the style doesn't
> show
> up when it is anonymous login. Don't know why.
>
> "Houston Lucifer" wrote:
>
>> Hi all, i have a login form which has a master page. I have style sheet
>> for
>> the master page. But, the login form doesn't inherit that style. All
>> other
>> forms inherit the master page style. Is there something that i am
>> missing?
>>
>> Thanks
Author
19 Dec 2005 2:22 PM
Houston Lucifer
I tried it but it didn't work. When i change the authenticationMode =
"Windows" instead of forms, the style from the master page shows up.

Show quoteHide quote
"clintonG" wrote:

> See what happens when you implement the following in your web.config and
> follow through as needed if implementing Roles...
>
> <!--
> ANONYMOUS IDENTIFICATION
> =====================================================================================
> http://msdn2.microsoft.com/en-us/library/91ka2e6a
> -->
>  <anonymousIdentification enabled="true"
>     cookieless="UseDeviceProfile"
>     cookieName=".ASPXANONYMOUS"
>     cookiePath="/"
>     cookieProtection="All"
>     cookieRequireSSL="false"
>     cookieSlidingExpiration="true"
>     cookieTimeout="30"
>     domain="eaxmple.com"/>
>
>
> --
> <%= Clinton Gallagher
>          METROmilwaukee (sm) "A Regional Information Service"
>          NET csgallagher AT metromilwaukee.com
>          URL http://metromilwaukee.com/
>          URL http://clintongallagher.metromilwaukee.com/
>
>
>
>
>
> "Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
> message news:60DC2C62-8A15-4198-8436-4227712B401F@microsoft.com...
> > What i found out was the style doesn't appear until i login to the
> > application (i am using Forms authentication). Somehow the style doesn't
> > show
> > up when it is anonymous login. Don't know why.
> >
> > "Houston Lucifer" wrote:
> >
> >> Hi all, i have a login form which has a master page. I have style sheet
> >> for
> >> the master page. But, the login form doesn't inherit that style. All
> >> other
> >> forms inherit the master page style. Is there something that i am
> >> missing?
> >>
> >> Thanks
>
>
>
Author
19 Dec 2005 4:27 PM
clintonG
Sounds wierd, as if the login.aspx is in a folder without forms
authentication permissions or if on your own server using goofy IIS
settings. I'm guessing at this point. Have you gone over your web.config? Do
you have all of the requires allow or deny attributes set?

<%= Clinton Gallagher

Show quoteHide quote
"Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
message news:85C50DE1-500A-401E-A549-9671152B009D@microsoft.com...
>I tried it but it didn't work. When i change the authenticationMode =
> "Windows" instead of forms, the style from the master page shows up.
>
> "clintonG" wrote:
>
>> See what happens when you implement the following in your web.config and
>> follow through as needed if implementing Roles...
>>
>> <!--
>> ANONYMOUS IDENTIFICATION
>> =====================================================================================
>> http://msdn2.microsoft.com/en-us/library/91ka2e6a
>> -->
>>  <anonymousIdentification enabled="true"
>>     cookieless="UseDeviceProfile"
>>     cookieName=".ASPXANONYMOUS"
>>     cookiePath="/"
>>     cookieProtection="All"
>>     cookieRequireSSL="false"
>>     cookieSlidingExpiration="true"
>>     cookieTimeout="30"
>>     domain="eaxmple.com"/>
>>
>>
>> --
>> <%= Clinton Gallagher
>>          METROmilwaukee (sm) "A Regional Information Service"
>>          NET csgallagher AT metromilwaukee.com
>>          URL http://metromilwaukee.com/
>>          URL http://clintongallagher.metromilwaukee.com/
>>
>>
>>
>>
>>
>> "Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
>> message news:60DC2C62-8A15-4198-8436-4227712B401F@microsoft.com...
>> > What i found out was the style doesn't appear until i login to the
>> > application (i am using Forms authentication). Somehow the style
>> > doesn't
>> > show
>> > up when it is anonymous login. Don't know why.
>> >
>> > "Houston Lucifer" wrote:
>> >
>> >> Hi all, i have a login form which has a master page. I have style
>> >> sheet
>> >> for
>> >> the master page. But, the login form doesn't inherit that style. All
>> >> other
>> >> forms inherit the master page style. Is there something that i am
>> >> missing?
>> >>
>> >> Thanks
>>
>>
>>
Author
19 Dec 2005 9:29 PM
Houston Lucifer
It definitely is wierd. Web.config has
<authorization><deny users="?"></authorization> and <authentication
mode="Forms"><Forms loginUrl="login.aspx"
defaultUrl="default.aspx></authentication>

I have even tried removing the login view control from the master page.

Show quoteHide quote
"clintonG" wrote:

> Sounds wierd, as if the login.aspx is in a folder without forms
> authentication permissions or if on your own server using goofy IIS
> settings. I'm guessing at this point. Have you gone over your web.config? Do
> you have all of the requires allow or deny attributes set?
>
> <%= Clinton Gallagher
>
> "Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
> message news:85C50DE1-500A-401E-A549-9671152B009D@microsoft.com...
> >I tried it but it didn't work. When i change the authenticationMode =
> > "Windows" instead of forms, the style from the master page shows up.
> >
> > "clintonG" wrote:
> >
> >> See what happens when you implement the following in your web.config and
> >> follow through as needed if implementing Roles...
> >>
> >> <!--
> >> ANONYMOUS IDENTIFICATION
> >> =====================================================================================
> >> http://msdn2.microsoft.com/en-us/library/91ka2e6a
> >> -->
> >>  <anonymousIdentification enabled="true"
> >>     cookieless="UseDeviceProfile"
> >>     cookieName=".ASPXANONYMOUS"
> >>     cookiePath="/"
> >>     cookieProtection="All"
> >>     cookieRequireSSL="false"
> >>     cookieSlidingExpiration="true"
> >>     cookieTimeout="30"
> >>     domain="eaxmple.com"/>
> >>
> >>
> >> --
> >> <%= Clinton Gallagher
> >>          METROmilwaukee (sm) "A Regional Information Service"
> >>          NET csgallagher AT metromilwaukee.com
> >>          URL http://metromilwaukee.com/
> >>          URL http://clintongallagher.metromilwaukee.com/
> >>
> >>
> >>
> >>
> >>
> >> "Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
> >> message news:60DC2C62-8A15-4198-8436-4227712B401F@microsoft.com...
> >> > What i found out was the style doesn't appear until i login to the
> >> > application (i am using Forms authentication). Somehow the style
> >> > doesn't
> >> > show
> >> > up when it is anonymous login. Don't know why.
> >> >
> >> > "Houston Lucifer" wrote:
> >> >
> >> >> Hi all, i have a login form which has a master page. I have style
> >> >> sheet
> >> >> for
> >> >> the master page. But, the login form doesn't inherit that style. All
> >> >> other
> >> >> forms inherit the master page style. Is there something that i am
> >> >> missing?
> >> >>
> >> >> Thanks
> >>
> >>
> >>
>
>
>
Author
20 Dec 2005 4:33 AM
clintonG
Did you try to remove deny users="?" and see what happens? Try allow
users="*" and see what happens. Then check out the new Location element
[1-2].

If you get styles when you are authenticated it seems to me that the problem
is in web.config somewhere.

<%= Clinton Gallagher
         METROmilwaukee (sm) "A Regional Information Service"
         NET csgallagher AT metromilwaukee.com
         URL http://metromilwaukee.com/
         URL http://clintongallagher.metromilwaukee.com/

[1] http://msdn2.microsoft.com/en-us/library/b6x6shw7(en-US,VS.80).aspx
[2] http://msdn2.microsoft.com/en-us/library/ms178692



Show quoteHide quote
"Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
message news:EF9E8C63-5817-4846-940D-360A36E0EA1A@microsoft.com...
> It definitely is wierd. Web.config has
> <authorization><deny users="?"></authorization> and <authentication
> mode="Forms"><Forms loginUrl="login.aspx"
> defaultUrl="default.aspx></authentication>
>
> I have even tried removing the login view control from the master page.
>
> "clintonG" wrote:
>
>> Sounds wierd, as if the login.aspx is in a folder without forms
>> authentication permissions or if on your own server using goofy IIS
>> settings. I'm guessing at this point. Have you gone over your web.config?
>> Do
>> you have all of the requires allow or deny attributes set?
>>
>> <%= Clinton Gallagher
>>
>> "Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
>> message news:85C50DE1-500A-401E-A549-9671152B009D@microsoft.com...
>> >I tried it but it didn't work. When i change the authenticationMode =
>> > "Windows" instead of forms, the style from the master page shows up.
>> >
>> > "clintonG" wrote:
>> >
>> >> See what happens when you implement the following in your web.config
>> >> and
>> >> follow through as needed if implementing Roles...
>> >>
>> >> <!--
>> >> ANONYMOUS IDENTIFICATION
>> >> =====================================================================================
>> >> http://msdn2.microsoft.com/en-us/library/91ka2e6a
>> >> -->
>> >>  <anonymousIdentification enabled="true"
>> >>     cookieless="UseDeviceProfile"
>> >>     cookieName=".ASPXANONYMOUS"
>> >>     cookiePath="/"
>> >>     cookieProtection="All"
>> >>     cookieRequireSSL="false"
>> >>     cookieSlidingExpiration="true"
>> >>     cookieTimeout="30"
>> >>     domain="eaxmple.com"/>
>> >>
>> >>
>> >> --
>> >> <%= Clinton Gallagher
>> >>          METROmilwaukee (sm) "A Regional Information Service"
>> >>          NET csgallagher AT metromilwaukee.com
>> >>          URL http://metromilwaukee.com/
>> >>          URL http://clintongallagher.metromilwaukee.com/
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> "Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
>> >> message news:60DC2C62-8A15-4198-8436-4227712B401F@microsoft.com...
>> >> > What i found out was the style doesn't appear until i login to the
>> >> > application (i am using Forms authentication). Somehow the style
>> >> > doesn't
>> >> > show
>> >> > up when it is anonymous login. Don't know why.
>> >> >
>> >> > "Houston Lucifer" wrote:
>> >> >
>> >> >> Hi all, i have a login form which has a master page. I have style
>> >> >> sheet
>> >> >> for
>> >> >> the master page. But, the login form doesn't inherit that style.
>> >> >> All
>> >> >> other
>> >> >> forms inherit the master page style. Is there something that i am
>> >> >> missing?
>> >> >>
>> >> >> Thanks
>> >>
>> >>
>> >>
>>
>>
>>
Author
22 Dec 2005 2:06 AM
Houston Lucifer
When i copied the website to my localhost, everything seems to be working fine.
Somehow, the default webserver that comes with the VS 2005 doesn't realize the
style. Thanks for the help.

Show quoteHide quote
"clintonG" wrote:

> Did you try to remove deny users="?" and see what happens? Try allow
> users="*" and see what happens. Then check out the new Location element
> [1-2].
>
> If you get styles when you are authenticated it seems to me that the problem
> is in web.config somewhere.
>
> <%= Clinton Gallagher
>          METROmilwaukee (sm) "A Regional Information Service"
>          NET csgallagher AT metromilwaukee.com
>          URL http://metromilwaukee.com/
>          URL http://clintongallagher.metromilwaukee.com/
>
> [1] http://msdn2.microsoft.com/en-us/library/b6x6shw7(en-US,VS.80).aspx
> [2] http://msdn2.microsoft.com/en-us/library/ms178692
>
>
>
> "Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
> message news:EF9E8C63-5817-4846-940D-360A36E0EA1A@microsoft.com...
> > It definitely is wierd. Web.config has
> > <authorization><deny users="?"></authorization> and <authentication
> > mode="Forms"><Forms loginUrl="login.aspx"
> > defaultUrl="default.aspx></authentication>
> >
> > I have even tried removing the login view control from the master page.
> >
> > "clintonG" wrote:
> >
> >> Sounds wierd, as if the login.aspx is in a folder without forms
> >> authentication permissions or if on your own server using goofy IIS
> >> settings. I'm guessing at this point. Have you gone over your web.config?
> >> Do
> >> you have all of the requires allow or deny attributes set?
> >>
> >> <%= Clinton Gallagher
> >>
> >> "Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
> >> message news:85C50DE1-500A-401E-A549-9671152B009D@microsoft.com...
> >> >I tried it but it didn't work. When i change the authenticationMode =
> >> > "Windows" instead of forms, the style from the master page shows up.
> >> >
> >> > "clintonG" wrote:
> >> >
> >> >> See what happens when you implement the following in your web.config
> >> >> and
> >> >> follow through as needed if implementing Roles...
> >> >>
> >> >> <!--
> >> >> ANONYMOUS IDENTIFICATION
> >> >> =====================================================================================
> >> >> http://msdn2.microsoft.com/en-us/library/91ka2e6a
> >> >> -->
> >> >>  <anonymousIdentification enabled="true"
> >> >>     cookieless="UseDeviceProfile"
> >> >>     cookieName=".ASPXANONYMOUS"
> >> >>     cookiePath="/"
> >> >>     cookieProtection="All"
> >> >>     cookieRequireSSL="false"
> >> >>     cookieSlidingExpiration="true"
> >> >>     cookieTimeout="30"
> >> >>     domain="eaxmple.com"/>
> >> >>
> >> >>
> >> >> --
> >> >> <%= Clinton Gallagher
> >> >>          METROmilwaukee (sm) "A Regional Information Service"
> >> >>          NET csgallagher AT metromilwaukee.com
> >> >>          URL http://metromilwaukee.com/
> >> >>          URL http://clintongallagher.metromilwaukee.com/
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> "Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
> >> >> message news:60DC2C62-8A15-4198-8436-4227712B401F@microsoft.com...
> >> >> > What i found out was the style doesn't appear until i login to the
> >> >> > application (i am using Forms authentication). Somehow the style
> >> >> > doesn't
> >> >> > show
> >> >> > up when it is anonymous login. Don't know why.
> >> >> >
> >> >> > "Houston Lucifer" wrote:
> >> >> >
> >> >> >> Hi all, i have a login form which has a master page. I have style
> >> >> >> sheet
> >> >> >> for
> >> >> >> the master page. But, the login form doesn't inherit that style.
> >> >> >> All
> >> >> >> other
> >> >> >> forms inherit the master page style. Is there something that i am
> >> >> >> missing?
> >> >> >>
> >> >> >> Thanks
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>
Author
23 Dec 2005 5:31 PM
clintonG
I stopped using the built-in server and use HTTP. That also enables me to
load any web I am working on directly from the browser given the fact that I
can at least remember its name. Other issues caused me conflict. I think its
better to use HTTP and I'm glad to hear your current problem is resolved
giving you time to start worrying about the next one :-)

<%= Clinton Gallagher

Show quoteHide quote
"Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
message news:020CFB9C-C530-489B-9871-9635CDF23410@microsoft.com...
> When i copied the website to my localhost, everything seems to be working
> fine.
> Somehow, the default webserver that comes with the VS 2005 doesn't realize
> the
> style. Thanks for the help.
>
> "clintonG" wrote:
>
>> Did you try to remove deny users="?" and see what happens? Try allow
>> users="*" and see what happens. Then check out the new Location element
>> [1-2].
>>
>> If you get styles when you are authenticated it seems to me that the
>> problem
>> is in web.config somewhere.
>>
>> <%= Clinton Gallagher
>>          METROmilwaukee (sm) "A Regional Information Service"
>>          NET csgallagher AT metromilwaukee.com
>>          URL http://metromilwaukee.com/
>>          URL http://clintongallagher.metromilwaukee.com/
>>
>> [1] http://msdn2.microsoft.com/en-us/library/b6x6shw7(en-US,VS.80).aspx
>> [2] http://msdn2.microsoft.com/en-us/library/ms178692
>>
>>
>>
>> "Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
>> message news:EF9E8C63-5817-4846-940D-360A36E0EA1A@microsoft.com...
>> > It definitely is wierd. Web.config has
>> > <authorization><deny users="?"></authorization> and <authentication
>> > mode="Forms"><Forms loginUrl="login.aspx"
>> > defaultUrl="default.aspx></authentication>
>> >
>> > I have even tried removing the login view control from the master page.
>> >
>> > "clintonG" wrote:
>> >
>> >> Sounds wierd, as if the login.aspx is in a folder without forms
>> >> authentication permissions or if on your own server using goofy IIS
>> >> settings. I'm guessing at this point. Have you gone over your
>> >> web.config?
>> >> Do
>> >> you have all of the requires allow or deny attributes set?
>> >>
>> >> <%= Clinton Gallagher
>> >>
>> >> "Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote in
>> >> message news:85C50DE1-500A-401E-A549-9671152B009D@microsoft.com...
>> >> >I tried it but it didn't work. When i change the authenticationMode =
>> >> > "Windows" instead of forms, the style from the master page shows up.
>> >> >
>> >> > "clintonG" wrote:
>> >> >
>> >> >> See what happens when you implement the following in your
>> >> >> web.config
>> >> >> and
>> >> >> follow through as needed if implementing Roles...
>> >> >>
>> >> >> <!--
>> >> >> ANONYMOUS IDENTIFICATION
>> >> >> =====================================================================================
>> >> >> http://msdn2.microsoft.com/en-us/library/91ka2e6a
>> >> >> -->
>> >> >>  <anonymousIdentification enabled="true"
>> >> >>     cookieless="UseDeviceProfile"
>> >> >>     cookieName=".ASPXANONYMOUS"
>> >> >>     cookiePath="/"
>> >> >>     cookieProtection="All"
>> >> >>     cookieRequireSSL="false"
>> >> >>     cookieSlidingExpiration="true"
>> >> >>     cookieTimeout="30"
>> >> >>     domain="eaxmple.com"/>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> <%= Clinton Gallagher
>> >> >>          METROmilwaukee (sm) "A Regional Information Service"
>> >> >>          NET csgallagher AT metromilwaukee.com
>> >> >>          URL http://metromilwaukee.com/
>> >> >>          URL http://clintongallagher.metromilwaukee.com/
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> "Houston Lucifer" <HoustonLuci***@discussions.microsoft.com> wrote
>> >> >> in
>> >> >> message news:60DC2C62-8A15-4198-8436-4227712B401F@microsoft.com...
>> >> >> > What i found out was the style doesn't appear until i login to
>> >> >> > the
>> >> >> > application (i am using Forms authentication). Somehow the style
>> >> >> > doesn't
>> >> >> > show
>> >> >> > up when it is anonymous login. Don't know why.
>> >> >> >
>> >> >> > "Houston Lucifer" wrote:
>> >> >> >
>> >> >> >> Hi all, i have a login form which has a master page. I have
>> >> >> >> style
>> >> >> >> sheet
>> >> >> >> for
>> >> >> >> the master page. But, the login form doesn't inherit that style.
>> >> >> >> All
>> >> >> >> other
>> >> >> >> forms inherit the master page style. Is there something that i
>> >> >> >> am
>> >> >> >> missing?
>> >> >> >>
>> >> >> >> Thanks
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>