R
RAM
Hello,
I am learning .NET 2.0. I have written simple ASP.NETapplication. I would
like to change password rules, so I added to web.config:
<membership defaultProvider="AspNetSqlMembershipProvider"
userIsOnlineTimeWindow="20">
<providers>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="SqlServices" enablePasswordRetrieval="false"
enablePasswordReset="true" requiresQuestionAndAnswer="true"
applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="4"
minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
passwordStrengthRegularExpression="" />
</providers>
</membership>
The problem is when I eneter Web Site Administration Tool:
There is a problem with your selected data store. This can be caused by an
invalid server name or credentials, or by insufficient permission. It can
also be caused by the role manager feature not being enabled. Click the
button below to be redirected to a page where you can choose a new data
store.
The following message may help in diagnosing the problem: The entry
'AspNetSqlMembershipProvider' has already been added.
(d:\Inetpub\wwwroot\MIMMagazyn\web.config line 46)
Could you help me plase? Thank you!
/RAM/
I am learning .NET 2.0. I have written simple ASP.NETapplication. I would
like to change password rules, so I added to web.config:
<membership defaultProvider="AspNetSqlMembershipProvider"
userIsOnlineTimeWindow="20">
<providers>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="SqlServices" enablePasswordRetrieval="false"
enablePasswordReset="true" requiresQuestionAndAnswer="true"
applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="4"
minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
passwordStrengthRegularExpression="" />
</providers>
</membership>
The problem is when I eneter Web Site Administration Tool:
There is a problem with your selected data store. This can be caused by an
invalid server name or credentials, or by insufficient permission. It can
also be caused by the role manager feature not being enabled. Click the
button below to be redirected to a page where you can choose a new data
store.
The following message may help in diagnosing the problem: The entry
'AspNetSqlMembershipProvider' has already been added.
(d:\Inetpub\wwwroot\MIMMagazyn\web.config line 46)
Could you help me plase? Thank you!
/RAM/