J
Jeff
ASP.NET 2.0
I've created 3 users in my webproject.
Today I added this to the web.config of my webproject:
<membership defaultProvider="SqlProvider">
<providers>
<add
name="SqlProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="LocalSqlServer"
requiresQuestionAndAnswer="true"
minRequiredNonalphanumericCharacters="0"
/>
</providers>
</membership>
And after I added this to web.config, the webproject says it has 0 users.
I think the error is related to me specifying a different
connectionStringName, but feel that is strage to because I can see
LocalSqlServer used elsewhere in this web.config.
This is the connectionStrings in the web.config:
<connectionStrings>
<add name="aspnet_DB" connectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated
Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
All I wanted to do is to specify minRequiredNonalphanumericCharacters and
requiresQuestionAndAnswer....
Any suggestions??
Jeff
I've created 3 users in my webproject.
Today I added this to the web.config of my webproject:
<membership defaultProvider="SqlProvider">
<providers>
<add
name="SqlProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="LocalSqlServer"
requiresQuestionAndAnswer="true"
minRequiredNonalphanumericCharacters="0"
/>
</providers>
</membership>
And after I added this to web.config, the webproject says it has 0 users.
I think the error is related to me specifying a different
connectionStringName, but feel that is strage to because I can see
LocalSqlServer used elsewhere in this web.config.
This is the connectionStrings in the web.config:
<connectionStrings>
<add name="aspnet_DB" connectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated
Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
All I wanted to do is to specify minRequiredNonalphanumericCharacters and
requiresQuestionAndAnswer....
Any suggestions??
Jeff