473,473 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Where does ASP.NET Membership store the information?

I am relatively new to the ASP.NET 2.0 Login controls, and am having some
trouble getting started. Here are my main problems:

1. I want to use either the default provider or one that stores the data in
an SQL Server database (I will be happy with either one). I am having
trouble figuring out exactly what I need to add to my Web.config file. I
have already added the following in the <system.webelement:

<authentication mode="Forms"/>
<authorization>
<allow users="?"/>
</authorization>

What else do I need to add?

2. Where do the Login controls store the user registrations (I realize that
this can be different depending on the membership provider specified in
Web.config)?

If someone could please help me figure out what I need to do to get started,
I would greatly appreciate it. Thanks.

Nathan Sokalski
Jul 18 '08 #1
2 1328
Read this article for some tips.

http://weblogs.asp.net/scottgu/archi...25/423703.aspx

"Nathan Sokalski" <ns*******@kyledavidgroup.comwrote in message
news:u7**************@TK2MSFTNGP03.phx.gbl...
>I am relatively new to the ASP.NET 2.0 Login controls, and am having some
trouble getting started. Here are my main problems:

1. I want to use either the default provider or one that stores the data
in an SQL Server database (I will be happy with either one). I am having
trouble figuring out exactly what I need to add to my Web.config file. I
have already added the following in the <system.webelement:

<authentication mode="Forms"/>
<authorization>
<allow users="?"/>
</authorization>

What else do I need to add?

2. Where do the Login controls store the user registrations (I realize
that this can be different depending on the membership provider specified
in Web.config)?

If someone could please help me figure out what I need to do to get
started, I would greatly appreciate it. Thanks.

Nathan Sokalski

Jul 18 '08 #2
"Nathan Sokalski" <ns*******@kyledavidgroup.comwrote in message
news:u7**************@TK2MSFTNGP03.phx.gbl...
I want to use either the default provider or one that stores the data in
an SQL Server database (I will be happy with either one).
Out of the box, two providers are available: SQL Server & Active Directory.
I am having trouble figuring out exactly what I need to add to my
Web.config file.
http://aspnet.4guysfromrolla.com/articles/120705-1.aspx
2. Where do the Login controls store the user registrations
See above. If the SQL Server provider is used, registrations will be stored
in SQL Server. If Active Directory is used, registrations will be stored in
Active Directory.
(I realize that this can be different depending on the membership provider
specified in Web.config)?
That's correct.
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 18 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: artificer | last post by:
I want to create an Internet application that will be accessed by several pre-registered companies. All of those companies will be accessing the same database and the same application but each one...
3
by: Morgan | last post by:
Sorry for cross post, forgot to include aspnet in orinal... Thanks in advance for any assistance. I'm in the process of implementing custom RoleProvider & Membership Provider objects and have...
2
by: Demetri | last post by:
I have several questions regarding the Membership and Roles mechanism in ASP.Net 2.0. 1. In the box, it comes with SqlMembershipProvider, which uses SQL Express 2005. What if I want it to use...
0
by: Jesse Johnson | last post by:
I have this block of code below, but when ran it only creates the member it doesnt fill in his profile data. Is there something I am missing? Please let me know what I can do, just trying to...
4
by: Scatir | last post by:
Hi, I have a membership problem I couldn't resolve. I have set up membership as most of tutorial instructed, and I am able to log on, but cannot stay log on for some reason. ex: when I log on, the...
6
by: Bob | last post by:
What is the best way to store custom information in the database when using the Membership class? I need to store an access level and I know I can write to the database manually but I was...
1
by: =?Utf-8?B?Tmljaw==?= | last post by:
Hi , I have created some users account by using web site Administration Tool, just wonder that which table in SQl server store those data? What i am trying to achieve is that the web...
1
by: Rusty Hill | last post by:
I am creating a web app to be shared amongst companies. Each user's credentials will be in the common ASP.NET membership database. Each company will have their own data base. I need to be able...
6
by: Jonathan Wood | last post by:
Although this will be a challenge at my level of ASP.NET knowledge, I'm thinking I should implement my own membership provider class. Looking over the methods I must implement, a number of...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.