Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2004
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Authentication page Web Config Problem

    I can't seem to get my login/password page to work. Why does this error keep on appearing, pointing to a line of code in my web config document?

    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:


    Line 1: <configuration>
    Line 2: <system.web>
    Line 3: <authentication mode="Forms" />
    Line 4: <forms name="login" loginUrl="lgoin.aspx" >
    Line 5: </forms>

  • #2
    jmd
    jmd is offline
    New to the CF scene
    Join Date
    Jun 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    speelling error?

    maybe it is because you've set the loginUrl attribute to "lgoin.aspx"
    and your login page is called "login.aspx".


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •