R
Raja
Hi everybody
I am not using App_Data\aspnetdb.mdf but my own database TESTDB in
SQLEXPRESS.
In web.config I am using:
<connectionStrings>
<add name="TESTDB" connectionString="Data Source=.\SQLEXPRESS;Initial
Catalog=TESTDB;Integrated Security=True"
providerName="System.Data.SqlClient" />
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="Data
Source=.\SQLEXPRESS;Initial Catalog=TESTDB;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
VWD shows me the exact number of users I have in TESTDB, AND EVERYTHING
WORKS.
But when I remove the above LocalSqlServer and add these:
<system.web>
<membership defaultProvider="CustomizedProvider">
<providers>
<add name="CustomizedProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="TESTDB"
minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0" />
</providers>
</membership>
</system.web>
Then VWD shows me 0 number of users, and during the login process it
says wrong credentials.
Where is the problem? What I am missing?
Thanks in advance
Raja
I am not using App_Data\aspnetdb.mdf but my own database TESTDB in
SQLEXPRESS.
In web.config I am using:
<connectionStrings>
<add name="TESTDB" connectionString="Data Source=.\SQLEXPRESS;Initial
Catalog=TESTDB;Integrated Security=True"
providerName="System.Data.SqlClient" />
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="Data
Source=.\SQLEXPRESS;Initial Catalog=TESTDB;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
VWD shows me the exact number of users I have in TESTDB, AND EVERYTHING
WORKS.
But when I remove the above LocalSqlServer and add these:
<system.web>
<membership defaultProvider="CustomizedProvider">
<providers>
<add name="CustomizedProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="TESTDB"
minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0" />
</providers>
</membership>
</system.web>
Then VWD shows me 0 number of users, and during the login process it
says wrong credentials.
Where is the problem? What I am missing?
Thanks in advance
Raja