Web.Config Connection String

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top