Problem in forms authentication

Total Post:135


 1253  View(s)
Rate this:

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? 

  1. Re: Problem in forms authentication

    Hi Chintoo,


    <clear />

        <add name="NewConnectionString" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf" providerName="System.Data.SqlClient" />





                <add name="AspNetSqlMembershipProvider"


                    type="System.Web.Security.SqlMembershipProvider, System.Web, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />




Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.