Master Pages and Themes not working

Discussion in 'ASP .Net' started by Guest, Nov 18, 2005.

  1. Guest

    Guest Guest

    I am using ASP .NET 2.0, VS2005 Professional RTM.

    I added a master page to my web application and made my default page refer
    to it. I then proceeded to theme some elements in the master page.
    Everything worked great. When I then went to my login page and had it refer
    to the master page as well things started going wrong.
    I attempt to run my application and get directed to the login page. The
    login page is missing all the "themeing" from the master page portion. For
    example, one of the skins contains the path to the logo image. The link
    shows up broken. However, if I look at the source of the web page the path
    is in there and it is correct.
    If I proceed to login in I get to my default page and everything is fine.
    If I click the back button the login page shows up as it should.
    I have the theming set up from the web.config file.

    Any ideas?

    Guest, Nov 18, 2005
    1. Advertisements

  2. Guest

    Brock Allen Guest

    Yep, you need to allow anonymous access to the App_Themes directory via a
    <location> element:

    <location path="App_Themes">
    <allow users="*" />
    Brock Allen, Nov 18, 2005
    1. Advertisements

  3. Guest

    Guest Guest

    Thanks that did it.
    After rereading my post it seems so obvious that I should have checked that
    based on the symptoms.
    Guest, Nov 18, 2005
  4. Guest


    Sep 4, 2007
    Likes Received:
    iis app_theme doesnt work

    i did the same but it didnt work for me Can some one help plz.
    dummies2, Sep 4, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.