Pretty confused with forms authentication RRS feed

  • Question

  • I have an Application secured with forms authentication.

    So if I type


    Working fine Asking me user id and pass word if the dredentials are correct it is taking me index.html page inside app_101

    The problem raises When I type


    It is not asking for user id and Password and Displaying the page.

    The below code is already there

      <authentication mode="Forms">
          <forms name=".Auth"

    Login.aspx This file is not residing in the root folder.This file is inside Tracking folder (which is a subfolder inside the App Folder)  Still It is working fine??????

    Changes I Made to my web.config

    I added

    <location Path="appDetails">

            <deny users="?" />

    Now it is failing (giving me error) Saying that It cannot find the Login.aspx inside the appDetails Folder???

    I tried (~/Login - No change) (../Login - Giving Error , Tried to exit the root folder)

    Ok Next Step

    I changed the Loginurl to Display.aspx which basically displays a message saying that Please login thru some other link.

    (copied display.aspx to portals Folder)

    If I enter  Http://servername/appDetails/app_101/index.html

    it is displaying the error message Great!! But When I type

    Http://servername/default.aspx?rp=/appDetails/app_101  After Log in instead of taking me to index.html it is showing the direct.aspx message ???

    I copied the Login.aspx from Tracking folder to Appdetails folder (It did n't work it is missing many referrals and stuff)

    So Confused.

    Now My question is Do you think of any changes that I can make??

    Is there a way that I can give physical path inside the loginurl ? (Something like c:\inetpub\approot\tracking\login.aspx???)

    Or Can I just specify 2 Navigate urls one for Appdetails Folder And One for AppRoot ?




    Tuesday, April 19, 2011 3:35 PM

All replies

  • Hi burtons,


    Thanks for posting in the MSDN Forum.


    Would you tell me the relationship between your issue and VSTO develop? This is the forum for VSTO developers, I suggest you post it in the and you will receive better support at that place if your issue has few relationship with VSTO develop.


    Have a good day,



    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, April 20, 2011 1:17 AM