G
Gunawan
I would like to apply membership on my web. The problem I have is ASP.NET
Configuration does not recognize setting I've made
What went wrong in this configuration on web.config?
<connectionStrings>
<clear />
<add name="SQLGUN" connectionString="driver={SQL Native Client}; Use
Integrated
Security=No;Server=MYSERVER\SQLEXPRESS,1678;UID=sa;PWD=password;database=aspnetdb;"
providerName="System.Data.SqlClient" />
</connectionStrings>
<membership defaultProvider="CustomSQL" userIsOnlineTimeWindow="15"
hashAlgorithmType="">
<providers>
<clear />
<add name="CustomSQL" connectionStringName="SQLGUN"
enablePasswordRetrieval="false" enablePasswordReset="true"
requiresQuestionAndAnswer="true" applicationName="/"
requiresUniqueEmail="false" passwordFormat="Hashed"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
passwordStrengthRegularExpression=""
type="System.Web.Security.SqlMembershipProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</membership>
</configuration>
Configuration does not recognize setting I've made
What went wrong in this configuration on web.config?
<connectionStrings>
<clear />
<add name="SQLGUN" connectionString="driver={SQL Native Client}; Use
Integrated
Security=No;Server=MYSERVER\SQLEXPRESS,1678;UID=sa;PWD=password;database=aspnetdb;"
providerName="System.Data.SqlClient" />
</connectionStrings>
<membership defaultProvider="CustomSQL" userIsOnlineTimeWindow="15"
hashAlgorithmType="">
<providers>
<clear />
<add name="CustomSQL" connectionStringName="SQLGUN"
enablePasswordRetrieval="false" enablePasswordReset="true"
requiresQuestionAndAnswer="true" applicationName="/"
requiresUniqueEmail="false" passwordFormat="Hashed"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
passwordStrengthRegularExpression=""
type="System.Web.Security.SqlMembershipProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</membership>
</configuration>