Web Matrix - Login Template gets an error - Help..

Discussion in 'WebMatrix' started by Ness, Oct 24, 2005.

  1. Hello,


    Hello,
    </o:p>
    I am trying to implement the Web Matrix Login Template. When I use the Web Matrix server, my code works fine. However when I upload to the DASP.net server I get the following error..
    </o:p>
    Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

    Source Error: </o:p>



    </o:p>Line 5: <system.web></o:p>Line 6: </o:p>Line 7: <authentication mode="Forms"></o:p>Line 8: <forms name=".ASPXAUTH" loginUrl="login.aspx" /></o:p>Line 9: </authentication> </o:p>
    </o:p>
    Can someone tell we what I need to do?
    <st1:personName w:st="on">Gene Ness
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    the application root has not been setup as a web application. set it up in the web application tool in the control panel, this should fix it.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page