Thanks for your reply Rkbnair,
For the question "How can I change the default database ASPNETDB.MDF", do
you mean you want to use your own membership database? If so, you can use
the <membership> setting in web.config file to custoimze the membership
providers you use.
============
<system.web>
... authentication & authorization settings ...
<membership defaultProvider="CustomizedProvider">
<providers>
<add name="CustomizedProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="MyDB"
applicationName="ScottsProject"
minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0" />
</providers>
</membership>
</system.web>
=================
I suggest you have a look at the following reference which can provide you
detailed info on how to configure and use membership & role service:
#ASP.NET 2.0 Security, Membership and Roles Tutorials
http://weblogs.asp.net/scottgu/archive/2006/06/19/ASP.NET-2.0-Security_2C00_
-Membership-and-Roles-Tutorials.aspx
#Examining ASP.NET 2.0's Membership, Roles, and Profile - Part 1
http://aspnet.4guysfromrolla.com/articles/120705-1.aspx
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?cmtibmFpcg==?= <
[email protected]>
Subject: Re: Sample Login page
Date: Tue, 13 Nov 2007 09:13:05 -0800