Results 1 to 2 of 2

Thread: Authentication nightmare!

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2002
    Posts
    59

    Question Authentication nightmare!

    Hi all, I’m working through a Karl Moore tutorial and I’m stuck…
    I would like to know if any one else has done this one? It’s the letmein tutorial designed to help with authentication (page 294 of his book). I have followed the Readme.txt file supplied with his source code. Since I’m still working with the Beta 2 version I can’t load the source code direct. To get the code to work on http://localhost/letmein, the instructions say:

    Launch the Internet Services Manager. Branch out the nodes until you reach "Default Web Site". Right-click and select New, Virtual Directory - click Next at the introduction, enter the site name ("letmein"), click Next, specify the path to this folder, click Next, Next again, then Finish

    OK that is simple enough, but I keep getting this error, HTTP 403 in my Browser which reads: You are not authorized to view this page.

    My Web Config file contains:

    <authentication mode="Forms">
    <forms>
    <credentials passwordFormat="Clear">
    <user name="karl" password="moore" />
    <user name="strangely" password="brown" />
    </credentials>
    </forms>
    </authentication>

    <authorization>
    <deny users="?" />
    </authorization>

    Can anyone help me?

    Thanks for your time.

  2. #2
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    Dublin, Ireland
    Posts
    262
    You haven't provided a login page to redirect to.

    <authentication mode="Forms">
    .
    .
    .
    <forms loginUrl="login.aspx">
    .
    .
    </forms>
    </authentication>

    the login.aspx is an example - you point it to your designed login page and whatever it is called.

Posting Permissions

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



Click Here to Expand Forum to Full Width