re:
!> What is the name of the provider that I already have?
The default membership provider is a SqlMembershipProvider
instance named "AspNetSqlMembershipProvider".
http://msdn2.microsoft.com/en-us/lib...1k(VS.80).aspx
It contains methods and properties specific to using
SQL Express 2005 as a data store for membership information.
It inherits from the MembershipProvider class.
The MembershipProvider class itself inherits from the ProviderBase class.
re:
> How do I modify the web.config file to change the value of
> minRequiredNonalphanumericCharacters without "adding" a provider.
Add the required lines, after clearing the existing default provider.
<membership defaultProvider="MyProvider">
<providers>
<clear />
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
minRequiredNonalphanumericCharacters="0"
connectionStringName="LocalSqlServer" />
</providers>
</membership>
Make sure you don't leave out any important settings...
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
======================================
"Paul" <> wrote in message
news: oups.com...
> Hello All,
>
> I am working through the SAMS "ASP.NET 2.0 - Unleased" book to teach
> myself ASP.NET. It is a great book, but Chapter 21 "Using ASP.NET
> Membership" is causing me problems - or maybe I am just missing
> something.
>
> It is telling me that in order to modify user password requirements I
> need to add the following to the web.config file.
>
> <membership defaultProvider="MyProvider">
> <providers>
> <add
> name="MyProvider"
> type="System.Web.Security.SqlMembershipProvider"
> minRequiredNonalphanumericCharacters="0"
> connectionStringName="LocalSqlServer" />
> </providers>
> </membership>
>
> The trouble with this is that "MyProvider" (whatever that is) is now
> the default provider so it seems to override the provider that I
> already have (the provider that was created for me the first time I
> used the asp:CreateUserWizard control for the first time).
>
> How do I modify the web.config file to change the value of
> minRequiredNonalphanumericCharacters without "adding" a provider. What
> is the name of the provider that I already have? I am confused.
>
> Help is always appreciated.
>
> Paul
>