Re: Configuration Error using Forms Authentication
From: nmt via DotNetMonster.com (forum_at_DotNetMonster.com)
Date: 04/08/05
- Next message: Nicole Calinoiu: "Re: CAS & ASP.Net"
- Previous message: Subir: "CAS & ASP.Net"
- In reply to: Joseph MCAD: "Re: Configuration Error using Forms Authentication"
- Next in thread: Joseph MCAD: "Re: Configuration Error using Forms Authentication"
- Reply: Joseph MCAD: "Re: Configuration Error using Forms Authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 08 Apr 2005 18:00:44 GMT
Thanks a lot for your help! This is my first time developing a login form.
It's an exciting task, but it can also be very frustrating! Also, I am
doing this as a project for the company I am interning for, so I want to
get it right!
HERE IS AN OUTLINE OF MY PROJECT:
Solution 'dbPractice'
dbPractice
Register(folder)
Register.aspx
Web.config
Login.aspx
Web.config
----------
The root Web.config file says this:
<authentication mode="Forms" />
<authorization>
<deny users="?" />
</authorization>
----------
The Register/Web.config file says this:
(when I created this file, the authentication mode was set to 'Windows',
and I changed it to 'Forms')
<authentication mode="Forms" />
<authorization>
<allow users="*" />
</authorization>
----------
The virtual directory path in the Internet Services Manager for dbPractice
is:
http://localhost/dbPractice/
----------
Also, in the book I am using as a reference (ASP.NET Unleashed) it states
this little note:
'The Register.aspx page is contained in its own directory with its own
Web.config file. The
Web.config file enables anonymous access to files in the directory.
Enabling access this way is
necessary to enable unauthenticated users to register. (You could also
enable anonymous access to the
Register.aspx page with the location element in the root Web.config file.)'
-- Message posted via http://www.dotnetmonster.com
- Next message: Nicole Calinoiu: "Re: CAS & ASP.Net"
- Previous message: Subir: "CAS & ASP.Net"
- In reply to: Joseph MCAD: "Re: Configuration Error using Forms Authentication"
- Next in thread: Joseph MCAD: "Re: Configuration Error using Forms Authentication"
- Reply: Joseph MCAD: "Re: Configuration Error using Forms Authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]