I am using forms authentication in my web site and I defined this in my config.
Therefore I have an ASPNETDB.MDF. So do I need to have a database called ASPNETDB.MDF in my web host?
If that is the case then how do I connect this so that my site uses this to verify users?
Sumit Kesarwani
27-Aug-2014<connectionStrings>
<clear />
<add name="NewConnectionString" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf" providerName="System.Data.SqlClient" />
</connectionStrings>
<membership>
<providers>
<clear/>
<add name="AspNetSqlMembershipProvider"
connectionStringName="NewConnectionString"
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</membership>